Skip to content

Commit

Permalink
only bother with the whole shuttle thing if admins aren't overriding …
Browse files Browse the repository at this point in the history
…the spawn location
  • Loading branch information
harryob committed Feb 24, 2024
1 parent eefc60c commit 7dac02f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/emergency_calls/emergency_call.dm
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
if(M.client)
to_chat(M, SPAN_NOTICE("Distress beacon: [src.name] finalized."))

if(shuttle_id)
if(shuttle_id && !override_spawn_loc)
if(!SSmapping.shuttle_templates[shuttle_id])
message_admins("Distress beacon: [name] does not have a valid shuttle_id: [shuttle_id]")
CRASH("ert called with invalid shuttle_id")
Expand Down

0 comments on commit 7dac02f

Please sign in to comment.