projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d6c97
)
Increment day at the end of the night
author
Neil
<neil@dip.sun.ac.za>
Sat, 10 Sep 2016 12:25:48 +0000
(14:25 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Sat, 10 Sep 2016 12:28:39 +0000
(14:28 +0200)
tabakrolletjie/scenes/night.py
patch
|
blob
|
history
diff --git
a/tabakrolletjie/scenes/night.py
b/tabakrolletjie/scenes/night.py
index 6b42f6bf878dafad72ef01fc63077230c71cc8b4..aadff681400cd67a38794eba040dbe71a800d977 100644
(file)
--- 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