Add NixOS and Go
This commit is contained in:
@@ -15,6 +15,7 @@ namespace KernelPanic.Run
|
||||
private static PendingRun _pendingRun;
|
||||
private static ResolvedRunCheckpoint _pendingResume;
|
||||
private static RunConfig _pendingTutorial;
|
||||
private static Language? _returnLanguage;
|
||||
|
||||
public static bool HasPendingRun => _pendingRun != null || _pendingResume != null || _pendingTutorial != null;
|
||||
public static int? LastRunSeed { get; private set; }
|
||||
@@ -26,6 +27,16 @@ namespace KernelPanic.Run
|
||||
_pendingResume = null;
|
||||
LastRunSeed = null;
|
||||
_pendingTutorial = null;
|
||||
_returnLanguage = null;
|
||||
}
|
||||
|
||||
public static void ReturnToLanguage(Language language) => _returnLanguage = language;
|
||||
public static bool TryTakeLanguageReturn(out Language language)
|
||||
{
|
||||
language = _returnLanguage.GetValueOrDefault();
|
||||
bool returning = _returnLanguage.HasValue;
|
||||
_returnLanguage = null;
|
||||
return returning;
|
||||
}
|
||||
|
||||
public static void Set(DistroDefinition distro, IReadOnlyList<CardDefinition> equippedCards, Language primaryLanguage, Language secondaryLanguage)
|
||||
|
||||
Reference in New Issue
Block a user