mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-14 00:49:23 +00:00
funny moment
This commit is contained in:
parent
92ba2c4d1b
commit
807beef87a
@ -40,10 +40,8 @@ public static class JoinLeaveSingularity
|
||||
}
|
||||
|
||||
var go = new GameObject($"player {player} JoinLeaveSingularity");
|
||||
var ct = CancellationTokenSource.CreateLinkedTokenSource(
|
||||
go.GetCancellationTokenOnDestroy(),
|
||||
player.TransformSync.GetCancellationTokenOnDestroy()
|
||||
).Token;
|
||||
// yes, it throws sometimes, but i cant destroy when the transform sync destroy or else the black hole doesn't happen
|
||||
var ct = go.GetCancellationTokenOnDestroy();
|
||||
UniTask.Create(async () =>
|
||||
{
|
||||
DebugLog.DebugWrite($"{go.name}: WARP TASK");
|
||||
|
Loading…
Reference in New Issue
Block a user