Add '-game' to game object name to prevent name clashes

This commit is contained in:
oakes
2015-02-28 23:27:41 -05:00
parent 8cd2e32553
commit f74c5d7820
5 changed files with 5 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ public class {{android-class-name}} extends AndroidApplication {
super.onCreate(savedInstanceState);
RT.var("clojure.core", "require").invoke(Symbol.intern("{{namespace}}"));
try {
Game game = (Game) RT.var("{{namespace}}", "{{app-name}}").deref();
Game game = (Game) RT.var("{{namespace}}", "{{game-name}}").deref();
initialize(game);
} catch (Exception e) {
e.printStackTrace();