diff --git a/source/game/scripting/StarUniverseServerLuaBindings.cpp b/source/game/scripting/StarUniverseServerLuaBindings.cpp index 8d0d0c8..99b1a7a 100644 --- a/source/game/scripting/StarUniverseServerLuaBindings.cpp +++ b/source/game/scripting/StarUniverseServerLuaBindings.cpp @@ -129,7 +129,7 @@ RpcThreadPromise LuaBindings::UniverseServerCallbacks::sendWorldMessage(Un void LuaBindings::UniverseServerCallbacks::sendPacket(UniverseServer* universe, ConnectionId clientId, String const& packetTypeName, Json const& args) { auto packetType = PacketTypeNames.getLeft(packetTypeName); - auto packet = createPacket(packetType, args.toArray()); + auto packet = createPacket(packetType, args); universe->sendPacket(clientId, packet); }