Add volatile option to pointer event

This commit is contained in:
Nicola Thouliss 2021-10-21 18:34:57 +11:00
parent f84febd390
commit c359d3f319

View File

@ -74,7 +74,7 @@ function NetworkedMapPointer({ session, active }: NetworkedMapPointerProps) {
sessionRef.current &&
sessionRef.current.socket
) {
sessionRef.current.socket.emit(
sessionRef.current.socket.volatile.emit(
"player_pointer",
ownPointerUpdateRef.current
);