Fix parallax null turf runtime

This commit is contained in:
Tayyyyyyy
2019-08-24 11:53:06 -07:00
parent 3ebdd6d23a
commit d6b85396c2
+2
View File
@@ -152,6 +152,8 @@
/datum/hud/proc/update_parallax()
var/client/C = mymob.client
var/turf/posobj = get_turf(C.eye)
if(!posobj)
return
var/area/areaobj = posobj.loc
// Update the movement direction of the parallax if necessary (for shuttles)