Push ZScript version to 3.8 and adapt accordingly to level global removal.

This isn't guaranteed to be 100% stable at the moment.
This commit is contained in:
Marisa the Magician 2019-01-20 16:32:26 +01:00
commit e3cf50b32c
16 changed files with 72 additions and 69 deletions

View file

@ -171,7 +171,7 @@ Class Razor2AltLight : DynamicLight
override void Tick()
{
Super.Tick();
if ( globalfreeze || level.frozen ) return;
if ( isFrozen() ) return;
args[LIGHT_RED] = int(255*lifetime);
args[LIGHT_GREEN] = int(240*lifetime);
args[LIGHT_BLUE] = int(224*lifetime);