Skip to content

Commit

Permalink
Exclude plastic cards from being inserted as paper into computers
Browse files Browse the repository at this point in the history
  • Loading branch information
LikeLakers2 committed Dec 17, 2023
1 parent ca6d19a commit 59f4989
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/modular_computers/computers/item/computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,11 @@ GLOBAL_LIST_EMPTY(TabletMessengers) // a list of all active messengers, similar
return

if(istype(attacking_item, /obj/item/paper))
//MONKESTATION EDIT START
// Don't allow plastic cards (including the spare ID safe code biscuits!) to be inserted
if(istype(attacking_item, /obj/item/paper/paperslip/corporate))
return
//MONKESTATION EDIT END
if(stored_paper >= max_paper)
balloon_alert(user, "no more room!")
return
Expand Down

0 comments on commit 59f4989

Please sign in to comment.