funny moment

This commit is contained in:
JohnCorby 2022-05-29 18:25:30 -07:00
parent 92ba2c4d1b
commit 807beef87a

View File

@ -40,10 +40,8 @@ public static class JoinLeaveSingularity
} }
var go = new GameObject($"player {player} JoinLeaveSingularity"); var go = new GameObject($"player {player} JoinLeaveSingularity");
var ct = CancellationTokenSource.CreateLinkedTokenSource( // yes, it throws sometimes, but i cant destroy when the transform sync destroy or else the black hole doesn't happen
go.GetCancellationTokenOnDestroy(), var ct = go.GetCancellationTokenOnDestroy();
player.TransformSync.GetCancellationTokenOnDestroy()
).Token;
UniTask.Create(async () => UniTask.Create(async () =>
{ {
DebugLog.DebugWrite($"{go.name}: WARP TASK"); DebugLog.DebugWrite($"{go.name}: WARP TASK");