mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-28 15:47:38 +01:00
Fixes shards having unlimited afterattack range
Fixes glass shards and such being able to be smacked into anything on the screen regardless of the targets location to shatter and mess up your hands.
This commit is contained in:
@@ -55,7 +55,9 @@
|
||||
return
|
||||
return ..()
|
||||
|
||||
/obj/item/material/shard/afterattack(var/atom/target, mob/living/carbon/human/user as mob)
|
||||
/obj/item/weapon/material/shard/afterattack(var/atom/target, mob/living/carbon/human/user as mob, proximity)
|
||||
if(!proximity)
|
||||
return
|
||||
var/active_hand //hand the shard is in
|
||||
var/will_break = FALSE
|
||||
var/protected_hands = FALSE //this is a fucking mess
|
||||
|
||||
Reference in New Issue
Block a user