mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 12:03:04 +00:00
rename method
This commit is contained in:
parent
199dc0c442
commit
9f5679de5f
3 changed files with 5 additions and 2 deletions
|
@ -244,7 +244,7 @@ namespace SanAndreasUnity.Behaviours
|
|||
return weapon;
|
||||
}
|
||||
|
||||
internal static void OnCreatedByServer(int modelId)
|
||||
internal static void OnWeaponCreatedByServer(int modelId)
|
||||
{
|
||||
|
||||
WeaponDef def;
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace SanAndreasUnity.Behaviours.Weapons
|
|||
return;
|
||||
|
||||
// create weapon
|
||||
F.RunExceptionSafe( () => Weapon.OnCreatedByServer(m_net_modelId) );
|
||||
F.RunExceptionSafe( () => Weapon.OnWeaponCreatedByServer(m_net_modelId) );
|
||||
}
|
||||
|
||||
void Start()
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
- port the whole UI to multiplayer
|
||||
|
||||
|
||||
- sync aim direction
|
||||
|
||||
|
||||
- **vehicle is bumping on clients** - disable (or destroy) wheel colliders, and sync them - this should not be done on local player, see below
|
||||
|
||||
- when exit vehicle anim is finished on client, it is repeated - change wrap mode
|
||||
|
|
Loading…
Reference in a new issue