Skip to content

Commit

Permalink
bugfix: grab people with a sleeper from any distance (#6374)
Browse files Browse the repository at this point in the history
work
  • Loading branch information
timchigaming authored Jan 18, 2025
1 parent 982f4c6 commit 8a02c5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/mecha/equipment/tools/medical_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
return FALSE
if(!patient_insertion_check(target))
return FALSE
if(get_dist(chassis, target) > 1)
occupant_message(span_warning("[target] слишком далеко для погрузки."))
return FALSE
occupant_message(span_notice("You start putting [target] into [src]..."))
chassis.visible_message(span_warning("[chassis] starts putting [target] into \the [src]."))
if(!do_after_cooldown(target))
Expand Down

0 comments on commit 8a02c5a

Please sign in to comment.