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