ソースを参照

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!

aleos 5 年 前
コミット
9b6976ea7b
1 ファイル変更0 行追加2 行削除
  1. 0 2
      src/map/script.cpp

+ 0 - 2
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;
 		}