mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 10:35:41 +01:00
[MIRROR] You can once again place hats on cyborgs without having to treat it as a party game. (#1545)
* Merge pull request #54714 from Timberpoes/borgo-hat-fix You can once again place hats on cyborgs without having to treat it as a party game. * You can once again place hats on cyborgs without having to treat it as a party game. Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
This commit is contained in:
@@ -100,7 +100,7 @@ GLOBAL_LIST_INIT(blacklisted_borg_hats, typecacheof(list( //Hats that don't real
|
||||
return
|
||||
|
||||
if(W.slot_flags & ITEM_SLOT_HEAD && hat_offset != INFINITY && user.a_intent == INTENT_HELP && !is_type_in_typecache(W, GLOB.blacklisted_borg_hats))
|
||||
if(HAS_TRAIT(hat, TRAIT_NODROP))
|
||||
if(hat && HAS_TRAIT(hat, TRAIT_NODROP))
|
||||
to_chat(user, "<span class='warn'>You can't seem to remove [src]'s existing headwear!</span>")
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You begin to place [W] on [src]'s head...</span>")
|
||||
|
||||
Reference in New Issue
Block a user