Various bugfix/cleanup (#489)

* parseCommands no longer removes excess whitespace (it was unneeded and also had a bug in it relating to commands that ended in a quote mark)
* more documentation and some variable renaming
* Fix script editor focus bug on navigating to the editor from sidebar
* Fix initialization for lastNodeReset and lastAugReset
This commit is contained in:
Snarling
2023-04-24 15:48:49 -04:00
committed by GitHub
parent 9004b12256
commit 62adaf3006
4 changed files with 31 additions and 26 deletions
+3
View File
@@ -1792,8 +1792,11 @@ function createDeprecatedProperty(
Terminal.warn(`Deprecated property ${propName} accessed from ns.${ctx.functionPath} return value.`);
Terminal.warn(`This is no longer supported usage and will be removed in a later version.`);
Terminal.warn(message);
Terminal.info(`Note that this message can also appear if you iterate through the object's values.`);
Terminal.info(`This message will only be shown once per game session for each deprecated property accessed.`);
}
return value;
},
enumerable: true,
});
}