mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Stops mice from eating cables during CI (#26496)
* Stops mice from eating cables during CI
* WE TEST CI WITH THIS ONE
* Revert "WE TEST CI WITH THIS ONE"
This reverts commit e163eaf612.
* Comment
* Charlie review
This commit is contained in:
@@ -43,6 +43,9 @@
|
||||
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 UNIT_TESTS // DO NOT EAT MY CABLES DURING UNIT TESTS
|
||||
return
|
||||
#endif
|
||||
if(prob(chew_probability) && isturf(loc))
|
||||
var/turf/simulated/floor/F = get_turf(src)
|
||||
if(istype(F) && !F.intact)
|
||||
|
||||
Reference in New Issue
Block a user