From: Neil Date: Sat, 10 Sep 2016 12:25:48 +0000 (+0200) Subject: Increment day at the end of the night X-Git-Tag: tabakrolletjie-v1.0.0~105^2~3 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=a3f0f03d8339e7efdb35cc45212f5dd8cc236c5a;p=tabakrolletjie.git Increment day at the end of the night --- diff --git a/tabakrolletjie/scenes/night.py b/tabakrolletjie/scenes/night.py index 6b42f6b..aadff68 100644 --- a/tabakrolletjie/scenes/night.py +++ b/tabakrolletjie/scenes/night.py @@ -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