diff options
-rw-r--r-- | game/core.rpy | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/game/core.rpy b/game/core.rpy index 77724d8..3b2f6f5 100644 --- a/game/core.rpy +++ b/game/core.rpy @@ -227,16 +227,16 @@ init -4 python: if (cmd == "steam"): print("Steam Mode Enabled") persistent.steam = True - if (cmd == "dummy"): + elif (cmd == "dummy"): print("Dummy Mode Enabled") USE_DUMMY_DATA = True - if (cmd == "launch"): + elif (cmd == "launch"): print("Auto-launch mode Enabled") AUTOLAUNCH = True - if (cmd == "version"): + elif (cmd == "version"): print("%s %s v%s" % (config.name, "Mirror Lake", config.version)) renpy.quit() - if (cmd == "help"): + elif (cmd == "help"): print("=========================================================") print("Commands:") print("steam - Enables Steam login") @@ -247,6 +247,8 @@ init -4 python: print("") print("Last commands have precedence over earlier ones.") renpy.quit() + else: + print("\033[31;1mWARNING:\033[0m Unrecognized argument: %s" % cmd) return True renpy.arguments.register_command('adv', parse_command) |