From d1f1bf2ae112c9ea63896950c8ac118c2a54d52a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 8 Sep 2020 16:18:05 +0200 Subject: [PATCH] - fixed icorrect validation of give ccmd Fixes #379 --- source/core/cheats.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core/cheats.cpp b/source/core/cheats.cpp index ade259f82..33b8c2f9a 100644 --- a/source/core/cheats.cpp +++ b/source/core/cheats.cpp @@ -176,6 +176,7 @@ CCMD(give) if (found == -1) { Printf("Unable to give %s\n", argv[1]); + return; } if (!CheckCheatmode(true, true)) {