mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Improved logging (#13208)
* Death is logged. hiveminds and robot talk is logged * Added channels to the say log * Shuttle logging * Spell targets logging
This commit is contained in:
@@ -223,11 +223,12 @@ SUBSYSTEM_DEF(shuttle)
|
||||
return 0 //dock successful
|
||||
|
||||
|
||||
/datum/controller/subsystem/shuttle/proc/moveShuttle(shuttleId, dockId, timed)
|
||||
/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)
|
||||
if(!M)
|
||||
return 1
|
||||
M.last_caller = user // Save the caller of the shuttle for later logging
|
||||
if(timed)
|
||||
if(M.request(D))
|
||||
return 2
|
||||
|
||||
Reference in New Issue
Block a user