mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Fixed a bug where you could conceal things in PDAs.
..really sad I can't abuse this. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2563 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -655,15 +655,16 @@
|
||||
id = I
|
||||
else
|
||||
var/obj/item/weapon/card/I = user.equipped()
|
||||
if(id)//Get id and replace it.
|
||||
user.drop_item()
|
||||
I.loc = src
|
||||
user.put_in_hand(id)
|
||||
id = I
|
||||
else//Insert id.
|
||||
user.drop_item()
|
||||
I.loc = src
|
||||
id = I
|
||||
if (istype(I, /obj/item/weapon/card/id) && I:registered)
|
||||
if(id)//Get id and replace it.
|
||||
user.drop_item()
|
||||
I.loc = src
|
||||
user.put_in_hand(id)
|
||||
id = I
|
||||
else//Insert id.
|
||||
user.drop_item()
|
||||
I.loc = src
|
||||
id = I
|
||||
return
|
||||
|
||||
// access to status display signals
|
||||
|
||||
Reference in New Issue
Block a user