Pass argc and argv through to DrivenEngine::event_init

This commit is contained in:
2021-10-14 16:41:24 -04:00
parent a9afbebbc3
commit 2e05df7ac5
9 changed files with 21 additions and 19 deletions

View File

@@ -41,7 +41,7 @@ private:
void check_redirects();
public:
virtual void event_init();
virtual void event_init(int argc, char *argv[]);
virtual void event_update();
};
@@ -214,7 +214,7 @@ void TextGame::check_redirects() {
}
}
void TextGame::event_init()
void TextGame::event_init(int argc, char *argv[])
{
world_.reset(new World(util::WORLD_TYPE_STANDALONE));
world_->update_source(get_lua_source());