mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 00:39:53 +00:00
Update DebugTriggerSupernovaMessage.cs
This commit is contained in:
parent
fdd979fd89
commit
6b786b5828
@ -5,5 +5,11 @@ namespace QSB.Utility.Messages;
|
||||
public class DebugTriggerSupernovaMessage : QSBMessage
|
||||
{
|
||||
public override void OnReceiveLocal() => OnReceiveRemote();
|
||||
public override void OnReceiveRemote() => TimeLoop.SetSecondsRemaining(0);
|
||||
public override void OnReceiveRemote()
|
||||
{
|
||||
PlayerData.SaveLoopCount(2);
|
||||
TimeLoop.SetTimeLoopEnabled(true);
|
||||
TimeLoop._isTimeFlowing = true;
|
||||
TimeLoop.SetSecondsRemaining(0);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user