![]() |
[Bug] Six Control Unit Fixes - Printable Version +- Goonstation Forums (https://forum.ss13.co) +-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6) +--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30) +---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31) +---- Thread: [Bug] Six Control Unit Fixes (/showthread.php?tid=6109) |
[Bug] Six Control Unit Fixes - Rubidium_Bradford - 03-14-2016 I took a look at the Control Unit code to check out the jumping bug and fixed a few more things along the way. I'm new to coding for BYOND so I hope the code is okay. Running locally the bugs I noticed and fixed are gone as far as I can tell. Summary of changes (Line #s refer to lines in the altered version): Code: LINE 334: An error in the JMP instruction made backwards jumps act as though the argument were one less than the actual value, not only leading to confusing behaviour but also making an unexpected infinite loop possible with a "C0" instruction Link here |