From 9394853c1c5b7def96baf901f819b0d813571174 Mon Sep 17 00:00:00 2001 From: Augustus <123775785+OlegTheSnowman@users.noreply.github.com> Date: Wed, 2 Jul 2025 19:16:41 +0300 Subject: [PATCH] fixed a bug with the decimal separator interface, it now won't set it to an empty value if you abort out of the menu --- scripts/misc.set | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/misc.set b/scripts/misc.set index 228acff..e367ad9 100644 --- a/scripts/misc.set +++ b/scripts/misc.set @@ -17,5 +17,5 @@ a comma:#var newdecchar ,| a period:#var newdecchar .| a custom choice:#prompt newdecchar {Please enter your custom choice} }; -#alarm 1 {#if {%length(@newdecchar)>1 OR %IsNumber(@newdecchar)=1} {#say {You really do not need a decimal seperator that is more than one character long or you have probably entered a number. Please try again.};#unvar newdecchar} {#var decchar @newdecchar; #say {Your decimal seperator has been set to @decchar}}} +#alarm 1 {#if {%length(@newdecchar)>1 OR %length(@newdecchar)<1 OR %IsNumber(@newdecchar)=1} {#say {You really do not need a decimal seperator that is more or less than one character long or you have probably entered a number. Please try again.};#unvar newdecchar} {#var decchar @newdecchar; #say {Your decimal seperator has been set to @decchar};#unvar newdecchar}} } \ No newline at end of file