OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

Integration with SGCraft #122

Closed SeaLife closed 10 years ago

SeaLife commented 10 years ago

Disabling onTick on all functions (Last commit) broke up all commands in a selfmade program.. like

while true do SG.getDialledAddress() ~= "" then -- DoSome :dancer: end sleep(0.5) end

will break up with "attempt to call nil"..

Fix: I have compiled it again with onTick=false (reverted last commit to sgcraft) had fixxed all my issues :dash:

boq commented 10 years ago

Before you try to change something, find out what it does. Removing onTick annotation may lead to crash/world corruption, so no, that's not valid fix.

It's very possible that you have used old version. We accidentally removed getDialledAddress(), but it was added back in current one.

Closing that one, since there is not enough info to do anything