Traitor/nuke ops cards no longer count as real cards in binders(they are cheap knock-offs like come on nobody will believe that its a real card)

This commit is contained in:
SmArtKar
2021-02-04 19:08:35 +03:00
parent 2135a391dc
commit 24619344f5
3 changed files with 9 additions and 4 deletions

View File

@@ -367,7 +367,8 @@ SUBSYSTEM_DEF(persistence)
var/list/card_types = list()
for(var/obj/item/tcg_card/card in binder.cards)
card_types.Add(card.datum_type)
if(!card.illegal) //Nope, don't want free cards as traitor/ops!
card_types.Add(card.datum_type)
ending_human.client.prefs.tcg_cards = card_types
ending_human.client.prefs.save_character()