Merge pull request #34695 from AnturK/brotherobjectivefix

Fixes brother objectives not showing in TP
This commit is contained in:
Jordan Brown
2018-01-21 10:15:26 -05:00
committed by CitadelStationBot
parent 7ec2a4230d
commit a7c9593aa6
+3 -2
View File
@@ -17,14 +17,15 @@
/datum/antagonist/brother/on_gain()
SSticker.mode.brothers += owner
owner.objectives += team.objectives
objectives += team.objectives
owner.objectives += objectives
owner.special_role = special_role
finalize_brother()
return ..()
/datum/antagonist/brother/on_removal()
SSticker.mode.brothers -= owner
owner.objectives -= team.objectives
owner.objectives -= objectives
if(owner.current)
to_chat(owner.current,"<span class='userdanger'>You are no longer the [special_role]!</span>")
owner.special_role = null