Explosives: Fix cursor interaction menu breaking

This commit is contained in:
PabstMirror 2015-04-09 22:46:19 -05:00
parent cc6bd1c302
commit 26d282c224
2 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,7 @@
*/
#include "script_component.hpp"
private ["_result", "_item", "_children"];
call EFUNC(interaction,hideMenu);
EXPLODE_2_PVT(_this,_unit,_detonator);
_range = GetNumber (ConfigFile >> "CfgWeapons" >> _detonator >> "ACE_Range");

View File

@ -17,8 +17,7 @@
*/
#include "script_component.hpp"
private ["_config"];
closeDialog 0;
call EFUNC(interaction,hideMenu);
EXPLODE_3_PVT(_this,_explosive,_magazine,_trigger);
_config = ConfigFile >> "CfgACE_Triggers" >> _trigger;