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
- Repeatedly run the following script in console:
local gun = CreateHDFirearm("Pistol") gun:AddScript("Base.rte/Scripts/Shared/SmokeTrail.lua") MovableMan:AddMO(gun)
- Game eventually crashes with the following error
Screenshots
