Add volatile option to pointer event
This commit is contained in:
parent
f84febd390
commit
c359d3f319
@ -74,7 +74,7 @@ function NetworkedMapPointer({ session, active }: NetworkedMapPointerProps) {
|
|||||||
sessionRef.current &&
|
sessionRef.current &&
|
||||||
sessionRef.current.socket
|
sessionRef.current.socket
|
||||||
) {
|
) {
|
||||||
sessionRef.current.socket.emit(
|
sessionRef.current.socket.volatile.emit(
|
||||||
"player_pointer",
|
"player_pointer",
|
||||||
ownPointerUpdateRef.current
|
ownPointerUpdateRef.current
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user