mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Guns with ammo no longer melee at point-blank range. They now fire normally. Guns without ammo you bash with.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3506 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -242,3 +242,15 @@ proc/isInSight(var/atom/A, var/atom/B)
|
||||
|
||||
else
|
||||
return 0
|
||||
|
||||
|
||||
proc/doafterattack(obj/target , obj/source)
|
||||
|
||||
if (istype(target, /obj/item/weapon/storage/backpack ))
|
||||
return 0
|
||||
|
||||
else if (locate (/obj/structure/table, source.loc))
|
||||
return 0
|
||||
|
||||
else
|
||||
return 1
|
||||
Reference in New Issue
Block a user