Antag Removal via admin also needs to obey ambitions (#2710)

This commit is contained in:
Funce
2021-01-17 10:31:52 +00:00
committed by GitHub
parent d1aaae0a8a
commit de00de4a04
@@ -220,6 +220,10 @@ GLOBAL_LIST_EMPTY(antagonists)
message_admins("[key_name_admin(user)] has removed [name] antagonist status from [key_name_admin(owner)].")
log_admin("[key_name(user)] has removed [name] antagonist status from [key_name(owner)].")
on_removal()
//SKYRAT EDIT ADDITION BEGIN - AMBITIONS
if(uses_ambitions && owner.my_ambitions.submitted)
ambitions_removal()
//SKYRAT EDIT ADDITION END
//gamemode/proc/is_mode_antag(antagonist/A) => TRUE/FALSE