mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Merge pull request #5 from nicky89107/master
Fix's the potentially abuse-able bug with Chameleon Projector + Playing Card.
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
|
||||
afterattack(atom/target, mob/user, proximity)
|
||||
if(!proximity) return
|
||||
if(istype(target,/obj/item/toy/cards/singlecard))
|
||||
user << "\red Unable to scan [target]."
|
||||
return
|
||||
if(istype(target,/obj/item))
|
||||
playsound(src, 'sound/weapons/flash.ogg', 100, 1, 1)
|
||||
user << "\blue Scanned [target]."
|
||||
|
||||
Reference in New Issue
Block a user