mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-10 07:30:36 +01:00
Merge pull request #623 from ArchieBeepBoop/numbertwo
Ports: GetComponent macros removal, and few other updates.
This commit is contained in:
@@ -190,7 +190,7 @@ GLOBAL_LIST_INIT(hyper_special_roles, list(
|
||||
if(should_equip)
|
||||
equip(silent)
|
||||
for(var/obj/I in owner.current.GetAllContents())
|
||||
GET_COMPONENT_FROM(hidden_uplink, /datum/component/uplink, I)
|
||||
var/datum/component/uplink/hidden_uplink = I.GetComponent(/datum/component/uplink)
|
||||
if(hidden_uplink)
|
||||
lewd_uplink_list = get_custom_uplink_items(lewd_uplink_list_raw, /datum/game_mode/traitor/lewd, TRUE, FALSE)
|
||||
hidden_uplink.uplink_items = lewd_uplink_list
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
|
||||
if(ishuman(C))
|
||||
var/mob/living/carbon/human/H = C
|
||||
GET_COMPONENT_FROM(mood, /datum/component/mood, H)
|
||||
var/datum/component/mood/mood = H.GetComponent(/datum/component/mood)
|
||||
if(emagged != 2) // EVERYONE GETS HUGS!
|
||||
for(var/datum/mood_event/i in mood.mood_events)
|
||||
if (i.description == "<span class='nicegreen'>Hugs are nice.</span>\n" )
|
||||
|
||||
Reference in New Issue
Block a user