Skip to content

Commit

Permalink
Merge branch 'master' into specialbuck
Browse files Browse the repository at this point in the history
  • Loading branch information
Meatstuff882 authored Jul 17, 2024
2 parents e168b21 + 76771ee commit a6f0b56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions code/modules/vehicles/multitile/multitile_movement.dm
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@

// Crashed with something that stopped us
if(!can_move)
move_momentum = Floor(move_momentum/2)
move_momentum = trunc(move_momentum/2)
update_next_move()
interior_crash_effect()

Expand Down Expand Up @@ -251,10 +251,10 @@
return

// Not enough momentum for anything serious
if(abs(move_momentum) <= 1)
if(abs(move_momentum) < 1)
return

var/fling_distance = Ceiling(move_momentum/move_max_momentum) * 2
var/fling_distance = Ceiling(abs(move_momentum)/move_max_momentum) * 2
var/turf/target = interior.get_middle_turf()

for (var/x in 0 to fling_distance-1)
Expand All @@ -272,7 +272,7 @@
if(isliving(A))
var/mob/living/M = A

shake_camera(M, 2, Ceiling(move_momentum/move_max_momentum) * 1)
shake_camera(M, 2, Ceiling(abs(move_momentum)/move_max_momentum) * 1)
if(!M.buckled)
M.apply_effect(1, STUN)
M.apply_effect(2, WEAKEN)
Expand Down
2 changes: 1 addition & 1 deletion dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ export NODE_VERSION_PRECISE=14.16.1
export SPACEMAN_DMM_VERSION=suite-1.8

# Python version for mapmerge and other tools
export PYTHON_VERSION=3.7.9
export PYTHON_VERSION=3.9.0

0 comments on commit a6f0b56

Please sign in to comment.