mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fix apply_innate_effects not getting mob refs like its supposed to, fixes veil health not being modified (#17965)
This commit is contained in:
@@ -85,7 +85,7 @@ GLOBAL_LIST_EMPTY(antagonists)
|
||||
if(!owner.current)
|
||||
CRASH("[src] ran on_gain() on a mind without a mob")
|
||||
greet()
|
||||
apply_innate_effects()
|
||||
apply_innate_effects(owner.current)
|
||||
give_antag_moodies()
|
||||
if(is_banned(owner.current) && replace_banned)
|
||||
replace_banned_player()
|
||||
@@ -117,7 +117,7 @@ GLOBAL_LIST_EMPTY(antagonists)
|
||||
//Called by the remove_antag_datum() and remove_all_antag_datums() mind procs for the antag datum to handle its own removal and deletion.
|
||||
/datum/antagonist/proc/on_removal()
|
||||
SHOULD_CALL_PARENT(TRUE)
|
||||
remove_innate_effects()
|
||||
remove_innate_effects(owner.current)
|
||||
clear_antag_moodies()
|
||||
if(owner)
|
||||
LAZYREMOVE(owner.antag_datums, src)
|
||||
|
||||
Reference in New Issue
Block a user