Correct flashlight's SwitchOff piece
[snowed-in.git] / src / snowed-in.inf
index 012f30f3c7d5291fd736ede732f3ebaabe6a0ac8..29673c19704aa591b085baf7acdff43bc0795c0c 100644 (file)
@@ -42,8 +42,8 @@ Constant Headline
     If not, contact the place you got it from.^^";
 Include "parser";
 Include "verblib";
-Release 3;
-Serial "220612";
+Release 4;
+Serial "221011";
 
 Object  mainroom "Main Room"
   with  description 
@@ -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,
@@ -715,7 +715,7 @@ Object  flashlight "flashlight" backpack
             }
             give flashlight light;
           SwitchOff:
-            give lantern ~light;
+            give flashlight ~light;
         ],
   has   switchable;