mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix playerChanged event
This commit is contained in:
parent
e375dbe0d7
commit
6e24d2868c
@ -298,7 +298,7 @@ if (!isNil QGVAR(PreInit_playerChanged_PFHID)) then {
|
||||
|
||||
// "playerChanged" event
|
||||
_data = call FUNC(player);
|
||||
if !(_data isEqualTo GVAR(OldPlayerVehicle)) then {
|
||||
if !(_data isEqualTo ACE_player) then {
|
||||
private "_oldPlayer";
|
||||
_oldPlayer = ACE_player;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user