Rename civ/veh data sync func
This commit is contained in:
@@ -171,11 +171,11 @@ addNetworkHandler("ag.giveWeapon", function(weaponId, ammo, active) {
|
||||
addEventHandler("onElementStreamIn", function(event, element) {
|
||||
switch(element.type) {
|
||||
case ELEMENT_VEHICLE:
|
||||
syncVehicle(element);
|
||||
syncVehicleProperties(element);
|
||||
break;
|
||||
|
||||
case ELEMENT_CIVILIAN:
|
||||
syncCivilian(element);
|
||||
syncCivilianProperties(element);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user