fix: send correct linkshell index
This commit is contained in:
parent
cd79310d7e
commit
5ce2cd607d
@ -213,7 +213,13 @@ internal sealed unsafe class Chat : IDisposable {
|
||||
|
||||
target.StringPtr = tellTargetPtr == null ? zero : tellTargetPtr;
|
||||
target.StringLength = bytes.Length;
|
||||
this._changeChatChannel(RaptureShellModule.Instance, (int) (channel + 1), channel.LinkshellIndex(), &target, 1);
|
||||
|
||||
var idx = channel.LinkshellIndex();
|
||||
if (idx == uint.MaxValue) {
|
||||
idx = 0;
|
||||
}
|
||||
|
||||
this._changeChatChannel(RaptureShellModule.Instance, (int) channel, idx, &target, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user