diff options
| author | cheapie <no-email-for-you@example.com> | 2026-05-25 15:51:06 -0500 |
|---|---|---|
| committer | cheapie <no-email-for-you@example.com> | 2026-05-25 15:51:06 -0500 |
| commit | ff3d25190bc08a29c2c0f11b32c67dfc26ae0fde (patch) | |
| tree | ae4eab0ba5b98b26dff9dbdc5255e5edcfd214f8 /mesecons.lua | |
| parent | 85ac97aaeb5bfb9d4f96595e8597c6d7ce3d1889 (diff) | |
| download | celevator-ff3d25190bc08a29c2c0f11b32c67dfc26ae0fde.tar celevator-ff3d25190bc08a29c2c0f11b32c67dfc26ae0fde.tar.gz celevator-ff3d25190bc08a29c2c0f11b32c67dfc26ae0fde.tar.bz2 celevator-ff3d25190bc08a29c2c0f11b32c67dfc26ae0fde.tar.xz celevator-ff3d25190bc08a29c2c0f11b32c67dfc26ae0fde.zip | |
I've only seen these break when players do weird stuff with the intention of breaking things
Diffstat (limited to 'mesecons.lua')
| -rw-r--r-- | mesecons.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesecons.lua b/mesecons.lua index 51917ed..b126381 100644 --- a/mesecons.lua +++ b/mesecons.lua @@ -657,6 +657,10 @@ core.register_abm({ end end if not def then return end + if not mem.upcalls then + --Memory ended up blank somehow + return + end local newstate = def.func(mem,floor) if newstate ~= oldstate then node.name = (newstate and "celevator:mesecons_output_on" or "celevator:mesecons_output_off") |
