mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 04:32:56 +03:00
Remove useless loop/waituntil
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
[] spawn {
|
[] spawn {
|
||||||
while {1 == 1} do {
|
BIS_Effects_Init = true; //A2 won't overwrite this if var is not nil
|
||||||
waitUntil {((isNil "BIS_Effects_Rifle") OR {(count(toArray(str(BIS_Effects_Rifle)))!=7)})};
|
|
||||||
diag_log "Res3tting B!S effects...";
|
diag_log "Res3tting B!S effects...";
|
||||||
/* BIS_Effects_* fixes from Dwarden */
|
/* BIS_Effects_* fixes from Dwarden */
|
||||||
BIS_Effects_Rifle = {false};
|
BIS_Effects_Rifle = {false};
|
||||||
@@ -33,8 +32,5 @@
|
|||||||
"BIS_effects_gepv" addPublicVariableEventHandler {
|
"BIS_effects_gepv" addPublicVariableEventHandler {
|
||||||
(_this select 1) call BIS_Effects_startEvent;
|
(_this select 1) call BIS_Effects_startEvent;
|
||||||
};
|
};
|
||||||
|
|
||||||
sleep 1;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user