Explosives - Fix place explosives cache not being cleared on respawn (#7637) (#7739)

* respawn handler

* Revert "respawn handler"

This reverts commit abdf9599bf.

* unit switched eh

Co-Authored-By: PabstMirror <pabstmirror@gmail.com>

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
Whigital 2020-06-10 23:24:15 +02:00 committed by GitHub
parent 5de7b6b6a3
commit e7256dad3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,3 +60,8 @@ GVAR(CurrentSpeedDial) = 0;
_this call FUNC(interactEH); _this call FUNC(interactEH);
}] call CBA_fnc_addEventHandler; }] call CBA_fnc_addEventHandler;
["unit", {
params ["_player"];
[_player, QGVAR(explosiveActions)] call EFUNC(common,eraseCache);
}] call CBA_fnc_addPlayerEventHandler;