Closed Zet0rz closed 5 years ago
[ERROR] addons/nzombies-unlimited-master/gamemodes/nzombies-unlimited/gamemode/points.lua:7: attempt to compare string with number
This error occurred when I switched the power on and the switch itself flicks up and slowly goes back down edit: after a restart, I can no longer interact with the switch
[ERROR]
I couldn't get this error. I did fix the handle going the wrong direction (the flick you describe), which was a purely visual bug.
Electricity is normally a global gamestate, however since the only use Electricity has is in the context of entities, the system can be morphed to a per-entity system instead, where a global state works as the fallback. This allows individually powering entities, supporting more complicated power systems.