Merge pull request #26 from ConnorRigby/sdl/fix-load-from-cmdline

Fix loading game from command line.
This commit is contained in:
Lior Halphon 2018-01-23 00:02:40 +02:00 committed by GitHub
commit cc73796897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ int main(int argc, char **argv)
}
if (argc == 2) {
filename = argv[2];
filename = argv[1];
}
signal(SIGINT, debugger_interrupt);