Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Preroundstart respawn runtime fix (tgstation#14725) (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 authored Apr 4, 2024
1 parent 1889a7c commit 33edc06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/datums/actions/observer_action.dm
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,8 @@

/datum/action/observer_action/campaign_respawn/action_activate()
var/datum/game_mode/mode = SSticker.mode
if(!mode)
to_chat(usr, span_warning("The round isn't ready yet!"))
return

mode.player_respawn(owner)

0 comments on commit 33edc06

Please sign in to comment.