diff options
Diffstat (limited to 'console_cmds.c')
-rw-r--r-- | console_cmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c index f65854562..9ceca60cc 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -1342,7 +1342,8 @@ DEF_CONSOLE_CMD(ConPatch) if (argc == 2) { IConsoleGetPatchSetting(argv[1]); } else { - IConsoleSetPatchSetting(argv[1], argv[2]); + int32 val; + if (GetArgumentInteger(&val, argv[2])) IConsoleSetPatchSetting(argv[1], val); } return true; |