Skip to content

Commit

Permalink
Я еблан
Browse files Browse the repository at this point in the history
  • Loading branch information
AmShegars committed Feb 17, 2024
1 parent d34a70e commit 7553f81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mechs/mech_movement.dm
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,14 @@
if(exosuit.dir != moving_dir && !(direction & (UP|DOWN)))
playsound(exosuit.loc, exosuit.mech_turn_sound, 40,1)
exosuit.set_dir(moving_dir)
//Данная формула нужна чтобы УБЕДИТЬСЯ в расчётах количества пассажиров, ибо по не очевидным причинам, оно может не расчитать верно
exosuit.passengers_ammount = LAZYLEN(exosuit.passenger_compartment.back_passengers) + LAZYLEN(exosuit.passenger_compartment.left_back_passengers) + LAZYLEN(exosuit.passenger_compartment.right_back_passengers)
if(exosuit.passengers_ammount > 0)
exosuit.update_passengers()
for(var/hardpoint in exosuit.hardpoints)
if(hardpoint == "left hand" || hardpoint == "right hand")
exosuit.update_icon()
exosuit.SetMoveCooldown(exosuit.legs.turn_delay)
//Данная формула нужна чтобы УБЕДИТЬСЯ в расчётах количества пассажиров, ибо по не очевидным причинам, оно может не расчитать верно
exosuit.passengers_ammount = LAZYLEN(exosuit.passenger_compartment.back_passengers) + LAZYLEN(exosuit.passenger_compartment.left_back_passengers) + LAZYLEN(exosuit.passenger_compartment.right_back_passengers)
//TURN

//MOVE
Expand Down
Binary file modified icons/mecha/mech_equipment.dmi
Binary file not shown.

0 comments on commit 7553f81

Please sign in to comment.