rename method

This commit is contained in:
in0finite 2019-07-06 22:02:46 +02:00
parent 199dc0c442
commit 9f5679de5f
3 changed files with 5 additions and 2 deletions

View file

@ -244,7 +244,7 @@ namespace SanAndreasUnity.Behaviours
return weapon;
}
internal static void OnCreatedByServer(int modelId)
internal static void OnWeaponCreatedByServer(int modelId)
{
WeaponDef def;

View file

@ -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()

View file

@ -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