seems like almost everything is working.

This commit is contained in:
Bryce Covert
2016-08-11 19:19:28 -07:00
parent 507e146877
commit a3536d7b0d
6 changed files with 43 additions and 33 deletions

View File

@@ -34,7 +34,9 @@
(defn remove-actor-from-stage
([entities id]
(remove-actor-from-stage (id entities)))
(do
(remove-actor-from-stage (id entities))
(dissoc entities id)))
([{:keys [^Actor object]}]
(when object
(.remove object))))