mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Fixes runtimes in Spawn Debug Full Crew, makes the warning clearer (#89601)
## About The Pull Request Mobs without clients or prefs now get default values instead of informed default values, preventing runtimes in Spawn Debug Full Crew. Also made the ***second*** warning much clearer and only appear when the user isn't localhost, similarly to Start Now. Totally not related to a recent incident on live servers, nope. Surely not. ## Changelog 🆑 fix: Spawn Debug Full Crew no longer runtimes admin: Spawn Debug Full Crew now explicitly warns you a second time if you're attempting to use it as a non-localhost user. /🆑
This commit is contained in:
@@ -508,7 +508,7 @@ ADMIN_VERB(spawn_debug_full_crew, R_DEBUG, "Spawn Debug Full Crew", "Creates a f
|
||||
if(tgui_alert(user, "This command will create a bunch of dummy crewmembers with minds, job, and datacore entries, which will take a while and fill the manifest.", "Spawn Crew", list("Yes", "Cancel")) != "Yes")
|
||||
return
|
||||
|
||||
if(tgui_alert(user, "I sure hope you aren't doing this on live. Are you sure?", "Spawn Crew (Be certain)", list("Yes", "Cancel")) != "Yes")
|
||||
if(!user.is_localhost() && tgui_alert(user, "You are not on localhost! Are you sure?", "Spawn Crew (Be certain)", list("Yes", "Cancel")) != "Yes")
|
||||
return
|
||||
|
||||
// Find the observer spawn, so we have a place to dump the dummies.
|
||||
|
||||
Reference in New Issue
Block a user