Fixed typo in previous commit

This commit is contained in:
Maruno17
2020-09-27 15:15:58 +01:00
parent edf35ac8a8
commit cccd9a2d5d

View File

@@ -131,7 +131,7 @@ class Game_Player < Game_Character
def turnGeneric(dir) def turnGeneric(dir)
old_direction = @direction old_direction = @direction
super super
if @direction != oldDirection && !@move_route_forcing && !pbMapInterpreterRunning? if @direction != old_direction && !@move_route_forcing && !pbMapInterpreterRunning?
Events.onChangeDirection.trigger(self, self) Events.onChangeDirection.trigger(self, self)
end end
end end