Fix fake space edge turfs

This commit is contained in:
Chompstation Bot
2021-06-06 05:24:26 +00:00
parent d5ca48ba11
commit 30b9903e36
4 changed files with 51836 additions and 3 deletions
+1 -1
View File
@@ -136,7 +136,7 @@
/turf/space/Entered(var/atom/movable/A)
. = ..()
if(edge && ticker?.mode)
if(edge && ticker?.mode && !density) // !density so 'fake' space turfs don't fling ghosts everywhere
A?.touch_map_edge()
/turf/space/proc/Sandbox_Spacemove(atom/movable/A as mob|obj)
+1 -1
View File
@@ -27,7 +27,7 @@
return
var/area/A = loc
if(A.dynamic_lighting)
if(A.dynamic_lighting && dynamic_lighting)
if(!lighting_corners_initialised)
generate_missing_corners()
File diff suppressed because it is too large Load Diff
+6
View File
@@ -3,8 +3,14 @@
/turf/space/internal_edge
icon_state = "arrow"
opacity = 1
density = 1
blocks_air = TRUE
/turf/space/internal_edge/Initialize()
. = ..()
opacity = 1 // This will get reset due to using appearances that are precreated in SSskybox, and apps have opacity = 0
density = 1
/turf/space/internal_edge/top
dir = NORTH
forced_dirs = NORTH