diff --git a/chess_gui/lib/chess_gui.pm b/chess_gui/lib/chess_gui.pm
index 3168cb6..a1c27ba 100644
--- a/chess_gui/lib/chess_gui.pm
+++ b/chess_gui/lib/chess_gui.pm
@@ -158,7 +158,7 @@ if ($#_ != -1) {
     if (exists($prop{$_})) {$default_iboard[$y][$x] = join '', @{$prop{$_}}}
 
         } else { # Restore a previous state (from a session).
-            $session_iboard[$y][$x] = $h0{$_} // $h1{$_} // $_;
+            $session_iboard[$y][$x] = $h1{$_} // $h0{$_} // $_;
         }
     }
     $players = 1; # Could do something with this if it weren't for @not_player...