mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-06 00:22:58 +00:00
Add a test which boots a computer and runs forever
Ideally we'd add a couple more tests in the future, but this'll do for now. The bootstrap class is largely yoinked from CCTweaks-Lua, so is a tad ugly. It works though.
This commit is contained in:
@@ -105,7 +105,7 @@ public class ServerComputer extends ServerTerminal implements IComputer, IComput
|
||||
public void update()
|
||||
{
|
||||
super.update();
|
||||
m_computer.advance();
|
||||
m_computer.tick();
|
||||
|
||||
m_changedLastFrame = m_computer.pollAndResetChanged() || m_changed;
|
||||
m_changed = false;
|
||||
|
||||
Reference in New Issue
Block a user