mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 12:03:04 +00:00
Don't assign syncvars in hooks
This commit is contained in:
parent
36c07a48d8
commit
5c390d2be1
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
- order of buttons in main menu
|
||||
|
||||
- send input to server
|
||||
|
||||
- make console available in main menu
|
||||
|
||||
|
||||
|
||||
# Potential problems
|
||||
|
|
Loading…
Reference in a new issue