mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Merge pull request #16684 from S34NW/transparent_turf_sanity_check
Fixes runtimes in null turfs
This commit is contained in:
@@ -71,7 +71,7 @@ Pipelines + Other Objects -> Pipe network
|
||||
// Icons/overlays/underlays
|
||||
/obj/machinery/atmospherics/update_icon()
|
||||
var/turf/T = get_turf(loc)
|
||||
if(T.transparent_floor)
|
||||
if(T && T.transparent_floor)
|
||||
plane = FLOOR_PLANE
|
||||
else
|
||||
if(!T || level == 2 || !T.intact)
|
||||
|
||||
Reference in New Issue
Block a user