From 9b6976ea7b8eea0db22b58d2a0d2dace4b010ed9 Mon Sep 17 00:00:00 2001 From: aleos Date: Tue, 11 Feb 2020 17:25:38 -0500 Subject: [PATCH] Removes some warnings from script command mail * Follow up to e5c22b3. * Remove the warnings for refine and bound options as these aren't mandatory fields. Thanks to @Lemongrass3110! --- src/map/script.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/map/script.cpp b/src/map/script.cpp index d7405180b8..d41f07b76d 100644 --- a/src/map/script.cpp +++ b/src/map/script.cpp @@ -24168,7 +24168,6 @@ BUILDIN_FUNC(mail){ // Refine if (!script_hasdata(st, 9)) { - ShowError("buildin_mail: missing item refine variable at position %d.\n", 9); break; } @@ -24197,7 +24196,6 @@ BUILDIN_FUNC(mail){ // Bound if (!script_hasdata(st, 10)) { - ShowError("buildin_mail: missing item bound variable at position %d.\n", 10); break; }