mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[MIRROR] Player Panel's "Make AI" Now Respects Closing The Input Menu [MDB IGNORE] (#16841)
* Player Panel's "Make AI" Now Respects Closing The Input Menu (#70449) Player Panel's Make AI Now Respects Closing Hey there, Before, this wouldn't respect it if the user calling this via the Player Panel just hit the X button, instead of "cancel" on the TGUI input message. If you hit the X button, it would just create an AI at the normal AI landmark anyways (very stupid!). I fell for this like twice in the last week, so let's get this outta here. * Player Panel's "Make AI" Now Respects Closing The Input Menu Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
@@ -740,7 +740,7 @@
|
||||
|
||||
var/move = TRUE
|
||||
switch(tgui_alert(usr,"Move new AI to AI spawn location?","Move AI?", list("Yes", "No","Cancel")))
|
||||
if("Cancel")
|
||||
if("Cancel", null)
|
||||
return
|
||||
if("No")
|
||||
move = FALSE
|
||||
|
||||
Reference in New Issue
Block a user