Skip to content

Game sometimes crashes when adding scripts to MO's via Lua #21

@comradeshook

Description

@comradeshook

As per title, when you use the Lua function MO:AddScript() to add a given script, the game sometimes crashes. Exact error message in screenshots.

To Reproduce

  1. Repeatedly run the following script in console: local gun = CreateHDFirearm("Pistol") gun:AddScript("Base.rte/Scripts/Shared/SmokeTrail.lua") MovableMan:AddMO(gun)
  2. Game eventually crashes with the following error

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions