Fix scoring problem
authorJason Self <j@jxself.org>
Sun, 12 Jun 2022 22:54:03 +0000 (15:54 -0700)
committerJason Self <j@jxself.org>
Sun, 12 Jun 2022 22:54:03 +0000 (15:54 -0700)
src/snowed-in.inf

index 012f30f3c7d5291fd736ede732f3ebaabe6a0ac8..b92c9200299e77861f58e750f42e6450b5dbf248 100644 (file)
@@ -296,10 +296,10 @@ Object  office "Office"
                     print_ret 
                         "You can't fit through the window while 
                         wearing the snow shoes.";
-            }
-            if (eastofcabin hasnt visited) {
-                score = score + 1;
-                give office visited;
+                if (eastofcabin hasnt visited) {
+                    score = score + 1;
+                    give office visited;
+                }
             }
         ],
         w_to mainroom,