Skip to content

Commit

Permalink
don't let mice chew through cables in map tests (#28395)
Browse files Browse the repository at this point in the history
  • Loading branch information
warriorstar-orion authored Feb 14, 2025
1 parent cd8c9ec commit 553601f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/simple_animal/friendly/mouse.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
AddComponent(/datum/component/squeak, list('sound/creatures/mousesqueak.ogg' = 1), 100, extrarange = SHORT_RANGE_SOUND_EXTRARANGE) //as quiet as a mouse or whatever

/mob/living/simple_animal/mouse/handle_automated_action()
#ifdef GAME_TESTS // DO NOT EAT MY CABLES DURING UNIT TESTS
#if defined(GAME_TESTS) || defined(MAP_TESTS) // DO NOT EAT MY CABLES DURING TESTS
return
#endif
if(!prob(chew_probability) || !isfloorturf(loc))
Expand Down

0 comments on commit 553601f

Please sign in to comment.