mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Fixed freeze from previous commit relating to script-type move route commands
This commit is contained in:
@@ -422,8 +422,6 @@ class Game_Character
|
|||||||
start_index = @move_route_index
|
start_index = @move_route_index
|
||||||
done_one_command = false
|
done_one_command = false
|
||||||
while @move_route_index < @move_route.list.size
|
while @move_route_index < @move_route.list.size
|
||||||
return if @move_route_index == start_index && done_one_command
|
|
||||||
done_one_command = true
|
|
||||||
command = @move_route.list[@move_route_index]
|
command = @move_route.list[@move_route_index]
|
||||||
if command.code == 0
|
if command.code == 0
|
||||||
if @move_route.repeat
|
if @move_route.repeat
|
||||||
@@ -440,6 +438,8 @@ class Game_Character
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
return if @move_route_index == start_index && done_one_command
|
||||||
|
done_one_command = true
|
||||||
# The below move route commands wait for a frame (i.e. return) after
|
# The below move route commands wait for a frame (i.e. return) after
|
||||||
# executing them
|
# executing them
|
||||||
if command.code <= 14
|
if command.code <= 14
|
||||||
|
|||||||
Reference in New Issue
Block a user