Skip to content
Browse files

Stop on init

  • Loading branch information...
1 parent 987d8fe commit d311327e6816cf7a007f79e543a9f2f38ba5bb16 @jtpalmer committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Games/Sokoban/SDL.pm
View
1 lib/Games/Sokoban/SDL.pm
@@ -66,6 +66,7 @@ sub init_level {
$player_vx = 0;
$player_vy = 0;
$player_moving = 0;
+ $player->stop();
$player->x( $x * $size );
$player->y( $y * $size );
}

0 comments on commit d311327

Please sign in to comment.
Something went wrong with that request. Please try again.