[Ready] Shuttle dock() rewrite (#2040)
This commit is contained in:
committed by
kevinz000
parent
bbc28aa856
commit
e522f715a2
@@ -139,10 +139,6 @@ GLOBAL_LIST_EMPTY(all_lighting_objects) // Global list of lighting objects.
|
||||
/atom/movable/lighting_object/blob_act()
|
||||
return
|
||||
|
||||
// Nope nope nope!
|
||||
/atom/movable/lighting_object/onShuttleMove(turf/T1, rotation)
|
||||
return FALSE
|
||||
|
||||
// Override here to prevent things accidentally moving around overlays.
|
||||
/atom/movable/lighting_object/forceMove(atom/destination, var/no_tp=FALSE, var/harderforce = FALSE)
|
||||
if(harderforce)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
// Builds a lighting object for us, but only if our area is dynamic.
|
||||
/turf/proc/lighting_build_overlay()
|
||||
if (lighting_object)
|
||||
return
|
||||
qdel(lighting_object,force=TRUE) //Shitty fix for lighting objects persisting after death
|
||||
|
||||
var/area/A = loc
|
||||
if (!IS_DYNAMIC_LIGHTING(A) && !light_sources)
|
||||
|
||||
Reference in New Issue
Block a user