Skip to content

Server:sendToPeer() Gets Serialized Twice #12

@LazyInn

Description

@LazyInn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions