Skip to content

Commit 708448b

Browse files
committed
allow launching maps in game with map switch
1 parent f44a6f6 commit 708448b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ int main(int argc, char* argv[]) {
3131

3232
if(args.has("--test"))
3333
engine->run("test");
34+
else if(!args.value("map").empty())
35+
engine->run("game");
3436
else
3537
engine->run("intro");
3638

0 commit comments

Comments
 (0)