mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Merge pull request #4965 from TullyBurnalot/RemoteViewFix
Remote View Bug Fix
This commit is contained in:
@@ -239,9 +239,11 @@
|
||||
action_icon_state = "genetic_view"
|
||||
|
||||
/obj/effect/proc_holder/spell/targeted/remoteview/choose_targets(mob/user = usr)
|
||||
var/list/targets = living_mob_list
|
||||
var/list/targets = list()
|
||||
var/list/remoteviewers = new /list()
|
||||
for(var/mob/M in targets)
|
||||
for(var/mob/M in living_mob_list)
|
||||
if(PSY_RESIST in M.mutations)
|
||||
continue
|
||||
if(REMOTE_VIEW in M.mutations)
|
||||
remoteviewers += M
|
||||
if(!remoteviewers.len || remoteviewers.len == 1)
|
||||
@@ -273,10 +275,6 @@
|
||||
return
|
||||
|
||||
for(var/mob/living/L in targets)
|
||||
if(ishuman(L))
|
||||
var/mob/living/carbon/human/H = L
|
||||
if(PSY_RESIST in H.mutations)
|
||||
continue
|
||||
target = L
|
||||
|
||||
if(target)
|
||||
|
||||
Reference in New Issue
Block a user