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 cf5bb5e commit ec0374aCopy full SHA for ec0374a
src/legacy/main/BuiltinCommands.cpp
@@ -62,10 +62,10 @@ void RegisterDebugCommand() {
62
command.overload<EngineDebugCommand>().optional("eval").execute(
63
[](CommandOrigin const&, CommandOutput& output, EngineDebugCommand const& param) {
64
auto& logger = lse::LegacyScriptEngine::getInstance().getSelf().getLogger();
65
- if (!param.eval.getText().empty()) {
+ if (!param.eval.mText.empty()) {
66
EngineScope enter(DebugEngine);
67
try {
68
- auto result = DebugEngine->eval(param.eval.getText());
+ auto result = DebugEngine->eval(param.eval.mText);
69
std::ostringstream sout;
70
PrintValue(sout, result);
71
output.success(sout.str());
0 commit comments