mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
Fix fake space edge turfs
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
+51828
-1
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user