Skip to content

Commit

Permalink
Merge pull request #5 from nicky89107/master
Browse files Browse the repository at this point in the history
Fix's the potentially abuse-able bug with Chameleon Projector + Playing Card.
  • Loading branch information
Fox-McCloud committed Nov 30, 2014
2 parents 70d03fa + 34d4bb0 commit 95e980e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/objects/items/devices/chameleonproj.dm
Expand Up @@ -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]."
Expand Down

0 comments on commit 95e980e

Please sign in to comment.