You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Record inputs after gathering in after_tick (#614)
One off inputs are recorded on NetworkTİme.after_tick.
Before that* commit rollback inputs were recorded from rbs after_tick.
After that commit rollback inputs are recorded from network-rollback
after_tick.
Godot calls signals based on their connected order.
Before server update rbs's were connecting their signals with a deferred
call. This was resulting in one off input node winning the race. But
after the server update, since servers are initialized before anything
else, input nodes are always losing the race.
This pr fixes the race condition by explicitly calling NetworkRollback methods, instead of relying on signal connection order.
---------
Co-authored-by: Tamás Gálffy <ezittgtx@gmail.com>
0 commit comments