From cf34a30b57db20aa5200d9f2dc911c6429dd6ae6 Mon Sep 17 00:00:00 2001 From: Raymix Date: Sun, 22 Oct 2017 19:45:38 +0100 Subject: [PATCH] geiger low energy warning --- .../epoch_code/gui/scripts/geiger/epoch_geiger_show_hide.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/epoch_code/gui/scripts/geiger/epoch_geiger_show_hide.sqf b/Sources/epoch_code/gui/scripts/geiger/epoch_geiger_show_hide.sqf index abfd8b6c..0b8e228c 100644 --- a/Sources/epoch_code/gui/scripts/geiger/epoch_geiger_show_hide.sqf +++ b/Sources/epoch_code/gui/scripts/geiger/epoch_geiger_show_hide.sqf @@ -36,7 +36,7 @@ if (ctrlText(["geigerCounter", 1] call epoch_getHUDCtrl) isEqualTo "") then { uiNamespace setVariable ["EPOCH_geiger_LCD",_lcd]; uiNamespace setVariable ["EPOCH_geiger_LED",_led]; - + if (EPOCH_playerEnergy <= 20) then {"Low Energy!" call epoch_message;}; } else { call _removeControls; };