<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1272,7 +1272,7 @@ this.searching=false;
 this.editingText=false;
 this.goingBack=false;
 this.problemMode=cfg.problemMode;
-this.problemColor=cfg.problemColor||&quot;B&quot;;
+this.problemColor=cfg.problemColor;
 this.prefs={};
 this.prefs.markCurrent=typeof cfg.markCurrent!=&quot;undefined&quot;?!!cfg.markCurrent:true;
 this.prefs.markNext=typeof cfg.markNext!=&quot;undefined&quot;?cfg.markNext:false;
@@ -1366,9 +1366,9 @@ this.loadPath=[0,0];
 }else{
 this.refresh();
 }
-if(!_1f._parent&amp;&amp;this.problemMode){
+if(_20&amp;&amp;this.problemMode){
 if(!this.problemColor){
-this.currentColor=this.problemColor=this.cursor.getNextColor();
+this.currentColor=this.problemColor=(this.cursor.getNextColor()||&quot;B&quot;);
 }else{
 this.currentColor=this.problemColor;
 }</diff>
      <filename>player/js/all.compressed.js</filename>
    </modified>
    <modified>
      <diff>@@ -291,7 +291,7 @@ eidogo.Player.prototype = {
         
         // problem-solving mode: respond when the user plays a move
         this.problemMode = cfg.problemMode;
-        this.problemColor = cfg.problemColor || &quot;B&quot;;
+        this.problemColor = cfg.problemColor;
     
         // user-changeable preferences
         this.prefs = {};
@@ -462,9 +462,9 @@ eidogo.Player.prototype = {
         }
         
         // find out which color to play as for problem mode
-        if (!target._parent &amp;&amp; this.problemMode) {
+        if (newGame &amp;&amp; this.problemMode) {
             if (!this.problemColor)
-                this.currentColor = this.problemColor = this.cursor.getNextColor();
+                this.currentColor = this.problemColor = (this.cursor.getNextColor() || &quot;B&quot;);
             else
                 this.currentColor = this.problemColor;
         }</diff>
      <filename>player/js/player.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bc9c23d996c5e8a670a053ef8f4aca4b9b4bac5c</id>
    </parent>
  </parents>
  <author>
    <name>Justin Kramer</name>
    <email>jkkramer@gmail.com</email>
  </author>
  <url>http://github.com/jkk/eidogo/commit/be1f959a44f8b9136da650184e93c015ea297774</url>
  <id>be1f959a44f8b9136da650184e93c015ea297774</id>
  <committed-date>2008-09-12T13:50:31-07:00</committed-date>
  <authored-date>2008-09-12T13:50:31-07:00</authored-date>
  <message>fix color-to-play detection for problem mode</message>
  <tree>0ba3b757d213dbf72e0916aa53c55c4a0a45dcc5</tree>
  <committer>
    <name>Justin Kramer</name>
    <email>jkkramer@gmail.com</email>
  </committer>
</commit>
