mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
17 lines
362 B
C#
17 lines
362 B
C#
using QSB.Messaging;
|
|
|
|
namespace QSB.Utility.Messages;
|
|
|
|
public class DebugTriggerSupernovaMessage : QSBMessage
|
|
{
|
|
public override void OnReceiveLocal() => OnReceiveRemote();
|
|
|
|
public override void OnReceiveRemote()
|
|
{
|
|
PlayerData.SaveLoopCount(2);
|
|
TimeLoop.SetTimeLoopEnabled(true);
|
|
TimeLoop._isTimeFlowing = true;
|
|
TimeLoop.SetSecondsRemaining(0);
|
|
}
|
|
}
|