Skip to content

Commit

Permalink
Fix police loadout not being reset after respawn
Browse files Browse the repository at this point in the history
  • Loading branch information
3Mydlo3 committed Jan 18, 2024
1 parent d1eb53d commit 0974d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/police/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if (!isServer) then {
[QGVAR(copKilled), _this] call CBA_fnc_serverEvent;
}];
player addEventHandler ["Respawn", {
player setUnitLoadout GVAR(playerLoadout);
player setUnitLoadout EGVAR(common,playerLoadout);
[QGVAR(copRespawned), _this] call CBA_fnc_serverEvent;
}];
};

0 comments on commit 0974d5c

Please sign in to comment.