mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
You can no longer redirect the mining / labour shuttle when it is moving (#20083)
* You can no longer redirect the mining / labour shuttle when it is moving * Sirryans changes * done
This commit is contained in:
@@ -205,6 +205,12 @@ SUBSYSTEM_DEF(shuttle)
|
||||
/datum/controller/subsystem/shuttle/proc/moveShuttle(shuttleId, dockId, timed, mob/user)
|
||||
var/obj/docking_port/mobile/M = getShuttle(shuttleId)
|
||||
var/obj/docking_port/stationary/D = getDock(dockId)
|
||||
//check if the shuttle is on lockdown
|
||||
if(M.lockeddown)
|
||||
return 3
|
||||
if(M.uses_lockdown)
|
||||
M.lockeddown = TRUE
|
||||
addtimer(VARSET_CALLBACK(M, lockeddown, FALSE), 15 SECONDS)
|
||||
if(!M)
|
||||
return 1
|
||||
M.last_caller = user // Save the caller of the shuttle for later logging
|
||||
|
||||
Reference in New Issue
Block a user