repl: support game-specific startup.gc files (#2176)

This commit is contained in:
Tyler Wilding
2023-01-30 20:45:03 -05:00
committed by GitHub
parent 7914c723dc
commit ae219f257d
3 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ int main(int argc, char** argv) {
username = REPL::find_repl_username();
}
// Load the user's startup file
auto startup_file = REPL::load_user_startup_file(username);
auto startup_file = REPL::load_user_startup_file(username, game_version);
// TODO - deprecate these two flags
if (startup_file.run_before_listen.empty() && (auto_debug || auto_listen)) {
startup_file.run_before_listen.push_back("(lt)");