Files
nur/pkgs/common/sable/0001-races-patch.patch
T
wymiller 7f27a8fde1
Publish packages to Attic / publish (push) Successful in 11m33s
mod: fix sable patch
2026-09-23 18:44:51 -04:00

32 lines
1.3 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
diff --git a/src/app/pages/client/ClientRoot.tsx b/src/app/pages/client/ClientRoot.tsx
index acdeab967..d64f32c53 100644
--- a/src/app/pages/client/ClientRoot.tsx
+++ b/src/app/pages/client/ClientRoot.tsx
@@ -86,8 +86,6 @@ function ClientRootLoading() {
const activeSessionId = useAtomValue(activeSessionIdAtom);
const setSessions = useSetAtom(sessionsAtom);
- const [showEasterEggs] = useSetting(settingsAtom, 'showEasterEggs');
- const [animalKind] = useSetting(settingsAtom, 'animalKind');
const activeSession: Session | undefined =
sessions.find((session) => session.userId === activeSessionId) ?? sessions[0];
@@ -108,14 +106,15 @@ function ClientRootLoading() {
window.location.reload();
};
- const loadingAnimal = showEasterEggs && animalKind ? animalKind : 'cats';
+ const races = ["Petting Miqo’te", "Hugging Roegadyn", "Punting Lalafell", "Climbing Elezen", "Booping Viera"];
+ const result = races[Math.floor(Math.random() * races.length)];
return (
<SplashScreen>
<Box direction="Column" grow="Yes" alignItems="Center" justifyContent="Center" gap="400">
<Spinner variant="Secondary" size="600" />
- <Text>{`Petting ${loadingAnimal}`}</Text>
+ <Text>{`${result}`}</Text>
{activeSession && (
<Text