mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Prevents joining with unacked notifications (#11398)
This commit is contained in:
@@ -156,10 +156,8 @@
|
||||
sound_to(player, 'sound/effects/menu_click.ogg')
|
||||
if(SSticker.current_state <= GAME_STATE_SETTING_UP)
|
||||
if(player.ready)
|
||||
player.ready = FALSE
|
||||
player.ready(FALSE)
|
||||
else
|
||||
player.ready = TRUE
|
||||
player.ready(TRUE)
|
||||
else
|
||||
player.join_game()
|
||||
@@ -230,7 +228,7 @@
|
||||
alert(src, "You have not saved your character yet. Please do so before readying up.")
|
||||
return
|
||||
if(client.unacked_warning_count > 0)
|
||||
alert(src, "You can not ready up, because you have unacknowledged warnings. Acknowledge your warnings in OOC->Warnings and Notifications.")
|
||||
alert(src, "You can not ready up, because you have unacknowledged warnings or notifications. Acknowledge them in OOC->Warnings and Notifications.")
|
||||
return
|
||||
|
||||
ready = readying
|
||||
|
||||
@@ -68,7 +68,7 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
alert(src, "You have not saved your character yet. Please do so before readying up.")
|
||||
return
|
||||
if(client.unacked_warning_count > 0)
|
||||
alert(src, "You can not ready up, because you have unacknowledged warnings. Acknowledge your warnings in OOC->Warnings and Notifications.")
|
||||
alert(src, "You can not ready up, because you have unacknowledged warnings or notifications. Acknowledge them in OOC->Warnings and Notifications.")
|
||||
return
|
||||
|
||||
ready = text2num(href_list["ready"])
|
||||
@@ -121,7 +121,7 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
return
|
||||
|
||||
if(client.unacked_warning_count > 0)
|
||||
alert(usr, "You can not join the game, because you have unacknowledged warnings. Acknowledge your warnings in OOC->Warnings and Notifications.")
|
||||
alert(usr, "You can not join the game, because you have unacknowledged warnings or notifications. Acknowledge them in OOC->Warnings and Notifications.")
|
||||
return
|
||||
|
||||
var/datum/species/S = all_species[client.prefs.species]
|
||||
|
||||
Reference in New Issue
Block a user