Skip to content

Commit

Permalink
bugfix: Correct Boolean Value (#5406)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottfrei authored Jul 10, 2024
1 parent 033c499 commit 790cf5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
// otherwise chance to hit is defined by the projectile var/hit_crawling_mobs_chance
if(projectile.hit_crawling_mobs_chance > 0 && projectile.hit_crawling_mobs_chance <= 100)
return !prob(projectile.hit_crawling_mobs_chance)
return FALSE
return TRUE


/mob/living/tompost_bump_override(atom/movable/mover, border_dir)
Expand Down

0 comments on commit 790cf5e

Please sign in to comment.