mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 18:32:45 +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 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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user