From 7036ff7735a2e9f956077abd9686291d59a8ba24 Mon Sep 17 00:00:00 2001 From: Kyle Franz Date: Sat, 19 Jul 2014 21:55:38 -0700 Subject: [PATCH] Fix pressing ready button multiple times when connecting causing the button state to flip back and forth --- code/modules/mob/new_player/new_player.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index dafa1dcff3b..059df6d486b 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -24,7 +24,7 @@ if(!ticker || ticker.current_state <= GAME_STATE_PREGAME) if(!ready) output += "

Declare Ready

" - else output += "

You are ready Cancel

" + else output += "

You are ready Cancel

" else output += "

Join Game!

" @@ -94,7 +94,7 @@ return 1 if(href_list["ready"]) - ready = !ready + ready = text2num(href_list["ready"]) if(href_list["refresh"]) src << browse(null, "window=playersetup") //closes the player setup window