Refactors EntityManager to not do any networking. (#1695)

* Refactors EntityManager to not do any networking.
ServerEntityManager and ClientEntityManager now do the networking instead.

* Rename property for "backwards compat."

* Remove comented out code in robust server simulation
This commit is contained in:
Vera Aguilera Puerto
2021-04-14 11:39:21 -07:00
committed by GitHub
parent 2c75c8b36d
commit 02af42da30
20 changed files with 649 additions and 703 deletions
@@ -97,7 +97,7 @@ namespace Robust.Client.GameObjects
private void DispatchInputCommand(FullInputCmdMessage message)
{
_stateManager.InputCommandDispatched(message);
EntityNetworkManager.SendSystemNetworkMessage(message, message.InputSequence);
EntityManager.EntityNetManager?.SendSystemNetworkMessage(message, message.InputSequence);
}
public override void Initialize()