Merge branch 'solars' of https://github.com/RedWolfie/Paradise into solars

This commit is contained in:
Certhic
2020-09-08 20:04:51 +02:00
+1 -1
View File
@@ -397,7 +397,7 @@
switch(action)
if("cdir") //change panel orientation
var/newAngle = text2num(params["cdir"])
if(newAngle != null) //0 is ok
if(!isnull(newAngle)) //0 is ok
cdir = clamp(newAngle, 0, 359)
targetdir = cdir
set_panels(cdir)