mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-15 01:46:41 +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:
@@ -892,7 +892,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
dat += "<b>Damage Screen Shake:</b> <a href='?_src_=prefs;preference=damagescreenshake'>[(damagescreenshake==1) ? "On" : ((damagescreenshake==0) ? "Off" : "Only when down")]</a><br>"
|
||||
//Add the Hyper stuff below here
|
||||
dat += "<h2>Hyper Preferences</h2>"
|
||||
dat += "<b>NonCon:</b><a href='?_src_=prefs;preference=noncon'>[noncon == TRUE ? "Enabled" : "Disabled"]</a><BR>"
|
||||
dat += "<b>NonCon - Bottom:</b><a href='?_src_=prefs;preference=noncon'>[noncon == TRUE ? "Enabled" : "Disabled"]</a><BR>"
|
||||
|
||||
dat += "<h2>Hyper Special Roles</h2>"
|
||||
|
||||
|
||||
@@ -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