mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-15 18:06:57 +01:00
Maybe fix for antag
Hard to test outside of a live environment, but let's see if this fixes the target picker giving "nothing". Also changes one label on preferences for a little more clarity. I'll work on it more.
This commit is contained in:
@@ -216,7 +216,7 @@ GLOBAL_LIST_INIT(hyper_special_roles, list(
|
||||
var/list/datum/mind/targets = list()
|
||||
var/list/datum/mind/owners = get_owners()
|
||||
for(var/datum/mind/candidate in SSticker.minds)
|
||||
if (!(candidate in owners) && ishuman(candidate.current))
|
||||
if (!(candidate in owners) && ishuman(candidate.current) && (candidate.current.client == TRUE))
|
||||
if(candidate.current.client.prefs.noncon == 1)
|
||||
targets += candidate
|
||||
if(targets.len > 0)
|
||||
|
||||
Reference in New Issue
Block a user