mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Merge branch 'solars' of https://github.com/RedWolfie/Paradise into solars
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user