Increment day at the end of the night
authorNeil <neil@dip.sun.ac.za>
Sat, 10 Sep 2016 12:25:48 +0000 (14:25 +0200)
committerNeil <neil@dip.sun.ac.za>
Sat, 10 Sep 2016 12:28:39 +0000 (14:28 +0200)
tabakrolletjie/scenes/night.py

index 6b42f6bf878dafad72ef01fc63077230c71cc8b4..aadff681400cd67a38794eba040dbe71a800d977 100644 (file)
@@ -82,3 +82,4 @@ class NightScene(BaseScene):
     def exit(self, gamestate):
         turnip_data = [turnip.serialize() for turnip in self._turnips]
         gamestate.turnips = turnip_data
+        gamestate.days += 1