diff --git a/apps/openmw-mp/Script/CommandController.cpp b/apps/openmw-mp/Script/CommandController.cpp index 673c094ba..78683697a 100644 --- a/apps/openmw-mp/Script/CommandController.cpp +++ b/apps/openmw-mp/Script/CommandController.cpp @@ -73,7 +73,7 @@ std::pair CommandController::exec(co if (cmd != commands.end()) { tokens.pop_front(); - bool result = cmd->second.func(player, sol::as_table(tokens), channel); + bool result = cmd->second.func(player, sol::as_table(move(tokens)), channel); if (result) return make_pair(ExecResult::SUCCESS, "");