oops
This commit is contained in:
parent
876cf6343d
commit
a633070b3b
@ -129,7 +129,7 @@ RpcThreadPromise<Json> LuaBindings::UniverseServerCallbacks::sendWorldMessage(Un
|
|||||||
|
|
||||||
void LuaBindings::UniverseServerCallbacks::sendPacket(UniverseServer* universe, ConnectionId clientId, String const& packetTypeName, Json const& args) {
|
void LuaBindings::UniverseServerCallbacks::sendPacket(UniverseServer* universe, ConnectionId clientId, String const& packetTypeName, Json const& args) {
|
||||||
auto packetType = PacketTypeNames.getLeft(packetTypeName);
|
auto packetType = PacketTypeNames.getLeft(packetTypeName);
|
||||||
auto packet = createPacket(packetType, args.toArray());
|
auto packet = createPacket(packetType, args);
|
||||||
universe->sendPacket(clientId, packet);
|
universe->sendPacket(clientId, packet);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user