more stringtable leveraging

This commit is contained in:
AzaezelX 2025-05-19 12:09:21 -05:00
parent 874229047c
commit 5ab2419826
6 changed files with 15 additions and 15 deletions

View file

@ -240,7 +240,7 @@ void SimSet::callOnChildren( const String &method, S32 argc, ConsoleValue argv[]
// Prep the arguments for the console exec...
// // Make sure and leave args[1] empty.
ConsoleValue args[21] = { };
args[0].setString(method.c_str());
args[0].setStringTableEntry(method.c_str());
for (S32 arg = 0; arg < targc; arg++)
args[arg + 2].setString(argv[arg].getString());