mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +00:00
Makes cameras work on shuttles
This commit is contained in:
committed by
CitadelStationBot
parent
eb9737912c
commit
494bb0222c
@@ -160,15 +160,11 @@ All ShuttleMove procs go here
|
||||
/obj/machinery/camera/beforeShuttleMove(turf/newT, rotation, move_mode)
|
||||
. = ..()
|
||||
GLOB.cameranet.removeCamera(src)
|
||||
GLOB.cameranet.updateChunk()
|
||||
. |= MOVE_CONTENTS
|
||||
|
||||
/obj/machinery/camera/afterShuttleMove(list/movement_force, shuttle_dir, shuttle_preferred_direction, move_dir)
|
||||
. = ..()
|
||||
if(can_use())
|
||||
GLOB.cameranet.addCamera(src)
|
||||
var/datum/camerachunk/chunk = GLOB.cameranet.getCameraChunk(x, y, z)
|
||||
chunk.hasChanged(TRUE)
|
||||
GLOB.cameranet.addCamera(src)
|
||||
|
||||
/obj/machinery/telecomms/afterShuttleMove(list/movement_force, shuttle_dir, shuttle_preferred_direction, move_dir)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user