Skip to content

Commit

Permalink
Добавил логирования.
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Mar 6, 2024
1 parent 381f7e6 commit 8bc59d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/controllers/subsystem/shuttle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ SUBSYSTEM_DEF(shuttle)
var/area/A = get_area(user)

log_shuttle("[key_name(user)] has called the emergency shuttle.")
log_game("[key_name(src)] has called the emergency shuttl: [emergency_reason]")
deadchat_broadcast(" has called the shuttle at [span_name("[A.name]")].", span_name("[user.real_name]"), user, message_type=DEADCHAT_ANNOUNCEMENT)
if(call_reason)
SSblackbox.record_feedback("text", "shuttle_reason", 1, "[call_reason]")
Expand Down

0 comments on commit 8bc59d0

Please sign in to comment.