mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Fixes cult ghosts not being able to be summoned anymore (#22665)
* Should be the fix * Yes, the debug messages still exist, I know * No more debug messages * Logic fix
This commit is contained in:
@@ -941,8 +941,15 @@ structure_check() searches for nearby cultist structures required for the invoca
|
||||
notify_ghosts("Manifest rune created in [get_area(src)].", ghost_sound = 'sound/effects/ghost2.ogg', source = src)
|
||||
var/list/ghosts_on_rune = list()
|
||||
for(var/mob/dead/observer/O in T)
|
||||
if(O.client && !iscultist(O) && !jobban_isbanned(O, ROLE_CULTIST) && !O.has_enabled_antagHUD && !QDELETED(src) && !QDELETED(O) && !HAS_TRAIT(O.mind.current, SCRYING))
|
||||
ghosts_on_rune += O
|
||||
if(!O.client)
|
||||
continue
|
||||
if(iscultist(O) || jobban_isbanned(O, ROLE_CULTIST))
|
||||
continue
|
||||
if(O.has_enabled_antagHUD || QDELETED(src) || QDELETED(O))
|
||||
continue
|
||||
if(O.mind.current && HAS_TRAIT(O.mind.current, SCRYING))
|
||||
continue
|
||||
ghosts_on_rune += O
|
||||
if(!length(ghosts_on_rune))
|
||||
to_chat(user, "<span class='cultitalic'>There are no spirits near [src]!</span>")
|
||||
fail_invoke()
|
||||
|
||||
Reference in New Issue
Block a user