new cursors and tweaks for chapter save.
This commit is contained in:
@@ -83,7 +83,9 @@
|
||||
chapters (if (.contains prefs "chapters")
|
||||
(edn/read-string (.getString prefs "chapters"))
|
||||
saves/chapters)
|
||||
chapters (assoc chapters chapter {:state (entities :state)})]
|
||||
chapters (assoc chapters chapter {:state (assoc (entities :state)
|
||||
:x (get-in entities [:room :entities :ego :x])
|
||||
:y (get-in entities [:room :entities :ego :y]))})]
|
||||
(.putString prefs "chapters" (pr-str chapters))
|
||||
(.flush prefs)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user