mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-23 16:44:50 +00:00
Mark computers as changed when changing on state
Previously they were not marked as such, meaning computer state was not broadcast to the client until blinking state changed.
This commit is contained in:
@@ -100,8 +100,7 @@ public class ServerComputer extends ServerTerminal
|
||||
super.update();
|
||||
m_computer.advance( 0.05 );
|
||||
|
||||
m_changedLastFrame = m_changed || m_computer.pollChanged();
|
||||
m_computer.clearChanged();
|
||||
m_changedLastFrame = m_computer.pollAndResetChanged() || m_changed;
|
||||
m_changed = false;
|
||||
|
||||
m_ticksSincePing++;
|
||||
|
||||
Reference in New Issue
Block a user