mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
Fixes observer mind selection [NO GBP] (#79471)
## About The Pull Request Oopsie doopsie: Observers don't have minds, so this excluded them from midround ## Why It's Good For The Game More midround candidates Fixes #79437 ## Changelog 🆑 fix: Fixes midround selection for observers /🆑
This commit is contained in:
@@ -61,9 +61,6 @@
|
||||
if (isnull(creature.client)) // Are they connected?
|
||||
trimmed_list.Remove(creature)
|
||||
continue
|
||||
if (isnull(creature.mind))
|
||||
trimmed_list.Remove(creature)
|
||||
continue
|
||||
if(creature.client.get_remaining_days(minimum_required_age) > 0)
|
||||
trimmed_list.Remove(creature)
|
||||
continue
|
||||
@@ -73,6 +70,10 @@
|
||||
if (is_banned_from(creature.ckey, list(antag_flag_override || antag_flag, ROLE_SYNDICATE)))
|
||||
trimmed_list.Remove(creature)
|
||||
continue
|
||||
|
||||
if (isnull(creature.mind))
|
||||
continue
|
||||
|
||||
if (restrict_ghost_roles && (creature.mind.assigned_role.title in GLOB.exp_specialmap[EXP_TYPE_SPECIAL])) // Are they playing a ghost role?
|
||||
trimmed_list.Remove(creature)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user