Skip to content

Commit

Permalink
bugfix: mouse jet dropped on user death. (ss220-space#5584)
Browse files Browse the repository at this point in the history
Update mouse.dm
  • Loading branch information
Daeberdir authored Jul 27, 2024
1 parent 0beb54a commit 571f003
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/modules/mob/living/simple_animal/friendly/mouse.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@
)
AddElement(/datum/element/connect_loc, loc_connections)


/mob/living/simple_animal/mouse/death(gibbed)
if(jetpack)
remove_from_back(null)
. = ..()


/mob/living/simple_animal/mouse/handle_automated_action()
if(prob(chew_probability) && isturf(loc))
var/turf/simulated/floor/F = get_turf(src)
Expand Down

0 comments on commit 571f003

Please sign in to comment.