Skip to content

Commit

Permalink
Ultradense - Mobs Only
Browse files Browse the repository at this point in the history
Makes it not able to blast walls and doors around.
  • Loading branch information
Aurrain authored Apr 17, 2024
1 parent 72c41f8 commit 1b91ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/projectiles/projectile/bullets/rifle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1100,8 +1100,8 @@

/obj/item/projectile/bullet/c4570/knockback/on_hit(atom/target, blocked = FALSE)
. = ..()
if(ismovable(target) && prob(50))
var/atom/movable/M = target
if(isliving(target) && prob(50))
var/mob/living/M = target
var/atom/throw_target = get_edge_target_turf(M, get_dir(src, get_step_away(M, src)))
M.safe_throw_at(throw_target, 2, 3)

Expand Down

0 comments on commit 1b91ab7

Please sign in to comment.