Permalink
Browse files

Fix for #1012

  • Loading branch information...
mugmuggy committed Sep 20, 2018
1 parent ce473fd commit 90ecd93fae6a1168dc5304e301370372ed433d2c
Showing with 1 addition and 1 deletion.
  1. +1 −1 CorsixTH/Lua/humanoid_actions/queue.lua
@@ -275,7 +275,7 @@ local action_queue_on_change_position = permanent"action_queue_on_change_positio
end
end
humanoid.action_queue[idle_index].direction = idle_direction
humanoid:queueAction(WalkAction(ix, iy):setMustHappen(true), idle_index - 1)
humanoid:queueAction(WalkAction(ix, iy):setMustHappen(true):setIsLeaving(humanoid:isLeaving()), idle_index - 1)
else
action.current_bench_distance = nil
local num_actions_prior = action_queue_leave_bench(action, humanoid)

0 comments on commit 90ecd93

Please sign in to comment.