Minor cleanup

This commit is contained in:
ulteq 2015-05-09 22:09:36 +02:00
parent 6b5d95906d
commit 3a10c77f08
3 changed files with 3 additions and 5 deletions

View File

@ -15,8 +15,7 @@
*/
#include "script_component.hpp"
//if (dialog) exitWith { false };
if(GVAR(active)) exitWith { false };
if (GVAR(active)) exitWith { false };
if (underwater ACE_player) exitWith { false };
if (!("ACE_ATragMX" in (uniformItems ACE_player)) && !("ACE_ATragMX" in (vestItems ACE_player))) exitWith { false };

View File

@ -2,7 +2,7 @@
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
if(GVAR(active)) exitWith {};
if (GVAR(active)) exitWith {false};
// Statement
[] call FUNC(create_dialog);
false

View File

@ -14,9 +14,8 @@
*/
#include "script_component.hpp"
//if (dialog) exitWith { false };
if (GVAR(Kestrel4500)) exitWith { false };
if (underwater ACE_player) exitWith { false };
if(GVAR(Kestrel4500)) exitWith { false };
if (!("ACE_Kestrel4500" in (uniformItems ACE_player)) && !("ACE_Kestrel4500" in (vestItems ACE_player))) exitWith { false };
GVAR(Overlay) = false;