mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fixed: "X time counter(s)" for suspend keyword, caused by not adding number hints for non-numeric things;
No longer request thumbnails of missing images git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@714 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -122,13 +122,14 @@ String do_english_num(String input, String(*fun)(int)) {
|
||||
}
|
||||
}
|
||||
}
|
||||
return _("<hint-2>") + input;
|
||||
} else {
|
||||
long i = 0;
|
||||
if (input.ToLong(&i)) {
|
||||
return fun(i);
|
||||
}
|
||||
return input;
|
||||
}
|
||||
return input;
|
||||
}
|
||||
|
||||
SCRIPT_FUNCTION(english_number) {
|
||||
|
||||
Reference in New Issue
Block a user