From 5e3e56ef561618c1aa949ca31774f8eaf43ed0b0 Mon Sep 17 00:00:00 2001 From: RedWolfie <13683223+RedWolfie@users.noreply.github.com> Date: Tue, 8 Sep 2020 13:07:59 +0200 Subject: [PATCH] Update code/modules/power/solar.dm Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> --- code/modules/power/solar.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/solar.dm b/code/modules/power/solar.dm index 32747648747..d09598b0f44 100644 --- a/code/modules/power/solar.dm +++ b/code/modules/power/solar.dm @@ -400,7 +400,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)