Global Output of User is, BEGONE! OUTTA MY SIGHT

Fixes laptops to not literally give everyone the message when someone's actually using a laptop and fiddling around with the cardslot functions.
This commit is contained in:
TheFurryFeline
2019-10-02 19:43:58 -04:00
committed by GitHub
parent 1776096948
commit 67c22b2d70
+3 -2
View File
@@ -193,7 +193,8 @@
// user: The mob inserting the card
// slot: Which slot to insert into (1->Reader, 2->Writer, 3->Auto) Default 3
/obj/item/part/computer/cardslot/dual/insert(var/obj/item/weapon/card/card, var/mob/user, var/slot = 3)
world << "User is [user]"
to_chat(user, "<span class='notice'>User is [user].</span>")
//world << "User is [user]" //CHOMPStation edit TFF 10/2/19 - fixes global announcement of 'User is 'Charname''.
if(slot != 2)
if(..(card, user))
return 1
@@ -228,4 +229,4 @@
if(D.files.len > 3)
return 0
D.files += F
return 1
return 1