Files
OpenRA/mods/ts/maps/sunstroke/sunstroke.lua
Matthias Mailänder 1291d1a53d Add the custom rules
sunrise effect and TW1 units.
2017-03-19 02:51:25 +01:00

10 lines
181 B
Lua

Tick = function()
if (Lighting.Red > 1.5) then
Lighting.Red = Lighting.Red - 0.001
end
if (Lighting.Ambient < 0.5) then
Lighting.Ambient = Lighting.Ambient + 0.001
end
end