We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec797e commit f63957cCopy full SHA for f63957c
source/Main.hx
@@ -950,11 +950,11 @@ class CommandPrompt
950
default:
951
typedValue = newValue;
952
953
- Reflect.setProperty(obj, fieldName, typedValue);
954
- print("Global Variable: " + args[0] + ", Type: " + Type.typeof(currentValue) + ", New Value: " + typedValue);
955
- } catch (e:Dynamic) {
956
- print("Error: Unable to set variable properly.");
957
- }
+ Reflect.setProperty(obj, fieldName, typedValue);
+ print("Global Variable: " + args[0] + ", Type: " + Type.typeof(currentValue) + ", New Value: " + typedValue);
+ }}catch (e:Dynamic) {
+ print("Error: Unable to set variable properly.");
+ }
958
} else {
959
print("Error: globalVar requires exactly two arguments.");
960
}
0 commit comments