You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server:sendToPeer() passes serialized data to Client:send(), which serializes it again. Causing event to not fire client side since they receive the serialized data as the event name. Easy fix:
function Server:sendToPeer(peer, event, data) peer:send(event, data) end