Tweak to error dialogs and add separate warning dialogs
(Also some error messages tweaked)
This commit is contained in:
@@ -989,7 +989,7 @@ short get_num_response(short min, short max, std::string prompt) {
|
||||
if(!losing) return true;
|
||||
int val = me["number"].getTextAsNum();
|
||||
if(val < min || val > max) {
|
||||
giveError("Number out of range!");
|
||||
showError("Number out of range!");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user