-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Some Lua scripts (Browncoats's Heatlance flamethrower and some Refinery breakables) define a function OnDestroy, which is not a function called by any core game code or script. However, Destroy is defined.
In case of Heatlance, this means that when it gets destroyed as it's being activated, the fire noise persists in the location it was at permanently for the rest of the game. It's quite a loud and annoying noise too.
I'm on the development branch, for reference.
To Reproduce
Steps to reproduce the behavior:
- Go to
Data/Browncoats.rte/Devices/Weapons/Heatlance/Heatlance.lua - Put
print("blah blah")into theOnDestroyfunction - Spawn then utterly explode the Heatlance in the game
- See no prints in the console.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working