From e7256dad3d31d7ae533074078bcf105db0e22569 Mon Sep 17 00:00:00 2001 From: Whigital Date: Wed, 10 Jun 2020 23:24:15 +0200 Subject: [PATCH] Explosives - Fix place explosives cache not being cleared on respawn (#7637) (#7739) * respawn handler * Revert "respawn handler" This reverts commit abdf9599bf8130e103a615734cbe7dc5030e8743. * unit switched eh Co-Authored-By: PabstMirror Co-authored-by: PabstMirror --- addons/explosives/XEH_postInit.sqf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/explosives/XEH_postInit.sqf b/addons/explosives/XEH_postInit.sqf index 76d3e44bd1..f01a3ad20d 100644 --- a/addons/explosives/XEH_postInit.sqf +++ b/addons/explosives/XEH_postInit.sqf @@ -60,3 +60,8 @@ GVAR(CurrentSpeedDial) = 0; _this call FUNC(interactEH); }] call CBA_fnc_addEventHandler; + +["unit", { + params ["_player"]; + [_player, QGVAR(explosiveActions)] call EFUNC(common,eraseCache); +}] call CBA_fnc_addPlayerEventHandler;