]> git.cworth.org Git - empires-server/commit
Store only the the .Game property when importing a game engine
authorCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 21:29:53 +0000 (14:29 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 21:29:53 +0000 (14:29 -0700)
commit0cc61b68f175ae13fe2390d8e5c6bf374153aecc
treef9682a8ffc382f0dc33fe5c4327a1d5722603b28
parentc88f2e245843fb925a1da1474ffc56aa1c03b36f
Store only the the .Game property when importing a game engine

Previously, we were referencing engine.Game separately from
engine.router, etc. But now that engine.Game is the only property
that's part of the interface, let's dereference that immediately at
the time of require() so that later on we can just use "engine" in
place of "engine.Game".
lmno.js