Update ExileServer_object_player_createBambi.sqf

This commit is contained in:
Cloudhax23 2017-03-25 09:18:05 -05:00 committed by GitHub
parent 5821a28445
commit 76ef5964e6

View File

@ -124,9 +124,9 @@ else
{ {
_spawnType = 0; _spawnType = 0;
}; };
if((canTriggerDynamicSimulation _player) isEqualTo false) then if((canTriggerDynamicSimulation _bambiPlayer) isEqualTo false) then
{ {
_player triggerDynamicSimulation true; _bambiPlayer triggerDynamicSimulation true;
}; };
_bambiPlayer addMPEventHandler ["MPKilled", {_this call ExileServer_object_player_event_onMpKilled}]; _bambiPlayer addMPEventHandler ["MPKilled", {_this call ExileServer_object_player_event_onMpKilled}];
_bambiPlayer call ExileServer_object_player_database_insert; _bambiPlayer call ExileServer_object_player_database_insert;
@ -150,4 +150,4 @@ _bambiPlayer call ExileServer_object_player_database_update;
] ]
call ExileServer_system_network_send_to; call ExileServer_system_network_send_to;
[_sessionID, _bambiPlayer] call ExileServer_system_session_update; [_sessionID, _bambiPlayer] call ExileServer_system_session_update;
true true