File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/Backdash/Session/Backends Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ SessionServices<TInput> services
5555 this . options = options ;
5656 }
5757
58- public void Dispose ( ) => tsc . SetCanceled ( ) ;
58+ public void Dispose ( ) => tsc . TrySetCanceled ( ) ;
5959
6060 public async ValueTask DisposeAsync ( ) => await WaitUntilFinish ( ) ;
6161
Original file line number Diff line number Diff line change @@ -388,4 +388,10 @@ bool IProtocolInputEventPublisher<ConfirmedInputs<TInput>>.Publish(in GameInputE
388388 host . SetLocalFrameNumber ( input . Frame , FixedFrameRate ) ;
389389 return host . SendInputAck ( ) ;
390390 }
391+
392+ bool INetcodeSession . TryGetRemotePlayer ( [ NotNullWhen ( true ) ] out NetcodePlayer ? player )
393+ {
394+ player = host . Player ;
395+ return true ;
396+ }
391397}
You can’t perform that action at this time.
0 commit comments