mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 12:42:57 +03:00
Update to Core Patch BIS_Effects
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
BIS_Effects_Init = true;
|
||||
|
||||
Corepatch_Effects_Init = true;
|
||||
if (isNil "BIS_Effects_Init_DZE") then {
|
||||
BIS_Effects_Init_DZE = true;
|
||||
diag_log "Res3tting B!S effects...";
|
||||
@@ -56,6 +56,13 @@ if (isNil "BIS_Effects_Init_DZE") then {
|
||||
};
|
||||
};
|
||||
"BIS_effects_gepv" addPublicVariableEventHandler {
|
||||
(_this select 1) call BIS_Effects_startEvent;
|
||||
if(time <= 0) then {
|
||||
(_this select 1) spawn { //Fire in the sky bug fix
|
||||
waitUntil {time > 0};
|
||||
_this call BIS_Effects_startEvent;
|
||||
};
|
||||
} else {
|
||||
(_this select 1) call BIS_Effects_startEvent;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user