From 0974d5cebf84175d5bb31c669b61d7d556cdbccc Mon Sep 17 00:00:00 2001 From: 3Mydlo3 Date: Thu, 18 Jan 2024 20:01:16 +0100 Subject: [PATCH] Fix police loadout not being reset after respawn --- addons/police/XEH_postInit.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/police/XEH_postInit.sqf b/addons/police/XEH_postInit.sqf index 1440073b..71fe23db 100644 --- a/addons/police/XEH_postInit.sqf +++ b/addons/police/XEH_postInit.sqf @@ -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; }]; };