Merge pull request #34695 from AnturK/brotherobjectivefix
Fixes brother objectives not showing in TP
This commit is contained in:
committed by
CitadelStationBot
parent
7ec2a4230d
commit
a7c9593aa6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user