close all dialogs

This commit is contained in:
Glowbal 2015-04-20 22:22:09 +02:00
parent 89a1306605
commit 1df42b17c2

View File

@ -37,7 +37,9 @@ _unit setUnconscious true;
if (_unit == ACE_player) then {
if (visibleMap) then {openMap false};
closeDialog 0;
while {dialog} do {
closeDialog 0;
};
};
// if we have unconsciousness for AI disabled, we will kill the unit instead