forked from Mirrors/openclonk
VolcanoEscapeEx: Remove Rule_Restart as it is not useful, change VolcanoTimer - Schedule to an effect
parent
a35ec2e983
commit
6fd109eb14
|
@ -36,7 +36,13 @@ protected func Initialize()
|
|||
var h0 = h-10;
|
||||
g_volcano->Activate(h0, h*10/100);
|
||||
// Schedule script to update volcano speed multiplier
|
||||
ScheduleCall(nil, Scenario.VolcanoTimer, 40, 99999);
|
||||
|
||||
var fx_volcano = new Effect {
|
||||
Timer = Scenario.VolcanoTimer
|
||||
};
|
||||
|
||||
CreateEffect(fx_volcano, 1, 40);
|
||||
ScheduleCall(nil, Global.RemoveAll, 3, nil, Find_ID(Rule_Restart));
|
||||
// Bottom is open, so put some stable lava here to prevent remaining lava from just flowing out of the map
|
||||
DrawMaterialQuad("StableLava",0,h0,w,h0,w,h,0,h);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue