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!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user