mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
Merge pull request #12688 from MrStonedOne/patch-52
Golem runes no longer trigger on ghosts orbiting something
This commit is contained in:
@@ -393,8 +393,12 @@
|
||||
/obj/effect/golemrune/process()
|
||||
var/mob/dead/observer/ghost
|
||||
for(var/mob/dead/observer/O in src.loc)
|
||||
if(!O.client) continue
|
||||
if(O.mind && O.mind.current && O.mind.current.stat != DEAD) continue
|
||||
if(!O.client)
|
||||
continue
|
||||
if(O.mind && O.mind.current && O.mind.current.stat != DEAD)
|
||||
continue
|
||||
if (O.orbiting)
|
||||
continue
|
||||
ghost = O
|
||||
break
|
||||
if(ghost)
|
||||
@@ -405,8 +409,12 @@
|
||||
/obj/effect/golemrune/attack_hand(mob/living/user)
|
||||
var/mob/dead/observer/ghost
|
||||
for(var/mob/dead/observer/O in src.loc)
|
||||
if(!O.client) continue
|
||||
if(O.mind && O.mind.current && O.mind.current.stat != DEAD) continue
|
||||
if(!O.client)
|
||||
continue
|
||||
if(O.mind && O.mind.current && O.mind.current.stat != DEAD)
|
||||
continue
|
||||
if (O.orbiting)
|
||||
continue
|
||||
ghost = O
|
||||
break
|
||||
if(!ghost)
|
||||
|
||||
Reference in New Issue
Block a user