mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
[MIRROR] Ghost Pool Protection Admin Button (#226)
* Ghost Pool Protection Admin Button (#52683) * Ghost Pool Protection * okay * Update tgui.bundle.js * just a bit of feedback * temporarily Co-authored-by: Emmanuel S. <emmanuelssr@gmail.com> * Update GhostPoolProtection.js * Update tgui.bundle.js * my devserver broke * okay done for real * conflict resolution bundle * Rohesies dope review Co-authored-by: Rohesie <rohesie@gmail.com> Co-authored-by: Emmanuel S. <emmanuelssr@gmail.com> Co-authored-by: Rohesie <rohesie@gmail.com> * Ghost Pool Protection Admin Button Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com> Co-authored-by: Emmanuel S. <emmanuelssr@gmail.com> Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
co-authored by
Emmanuel S.
Rohesie
tralezab
parent
f053e12c16
commit
38c75c7573
@@ -834,7 +834,7 @@
|
||||
* Only checks if everyone is actually valid to start (still connected and an observer) if there are enough players (basic_setup)
|
||||
*/
|
||||
/datum/mafia_controller/proc/try_autostart()
|
||||
if(phase != MAFIA_PHASE_SETUP)
|
||||
if(phase != MAFIA_PHASE_SETUP || !(GLOB.ghost_role_flags & GHOSTROLE_MINIGAME))
|
||||
return
|
||||
if(GLOB.mafia_signup.len >= MAFIA_MAX_PLAYER_COUNT || custom_setup.len)//enough people to try and make something (or debug mode)
|
||||
basic_setup()
|
||||
|
||||
Reference in New Issue
Block a user