Don't assign syncvars in hooks

This commit is contained in:
in0finite 2019-04-26 23:39:33 +02:00
parent 36c07a48d8
commit 5c390d2be1
2 changed files with 6 additions and 2 deletions

View file

@ -56,7 +56,7 @@ namespace SanAndreasUnity.Behaviours
if (this.isServer)
return;
m_net_pedId = newId;
//m_net_pedId = newId;
F.RunExceptionSafe( () => this.PlayerModel.Load(newId) );
}
@ -68,7 +68,7 @@ namespace SanAndreasUnity.Behaviours
if (this.isServer)
return;
m_net_state = newStateName;
//m_net_state = newStateName;
// forcefully change the state

View file

@ -6,6 +6,10 @@
- order of buttons in main menu
- send input to server
- make console available in main menu
# Potential problems