mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 18:45:22 +01:00
More standard tgui input conversions (#63464)
This commit is contained in:
@@ -102,11 +102,11 @@
|
||||
var/less_input_message
|
||||
if(SSlag_switch.measures[DISABLE_DEAD_KEYLOOP])
|
||||
less_input_message = " - Notice: Observer freelook is currently disabled."
|
||||
var/this_is_like_playing_right = alert(usr, "Are you sure you wish to observe? You will not be able to play this round![less_input_message]","Player Setup", "Yes", "No")
|
||||
|
||||
if(QDELETED(src) || !src.client || this_is_like_playing_right != "Yes")
|
||||
var/this_is_like_playing_right = tgui_alert(usr, "Are you sure you wish to observe? You will not be able to play this round![less_input_message]", "Observe", "Yes", "No")
|
||||
if(this_is_like_playing_right != "Yes")
|
||||
return FALSE
|
||||
if(QDELETED(src) || !src.client)
|
||||
ready = PLAYER_NOT_READY
|
||||
src << browse(null, "window=playersetup") //closes the player setup window
|
||||
return FALSE
|
||||
|
||||
var/mob/dead/observer/observer = new()
|
||||
|
||||
Reference in New Issue
Block a user