General pass for code cleanup

This commit is contained in:
Alexander Bock
2024-03-08 00:36:54 +01:00
parent 2ed6907cf1
commit fff6f8a627
145 changed files with 432 additions and 463 deletions

View File

@@ -580,7 +580,7 @@ void ScriptEngine::decode(SyncBuffer* syncBuffer) {
size_t nScripts;
syncBuffer->decode(nScripts);
for (size_t i = 0; i < nScripts; ++i) {
for (size_t i = 0; i < nScripts; i++) {
std::string script;
syncBuffer->decode(script);
_clientScriptQueue.push(std::move(script));