Files
nur/pkgs/common/sable/0001-races-patch.patch
T

32 lines
1.3 KiB
Diff
Raw Normal View History

2026-09-20 19:34:58 -04:00
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>
2026-09-23 18:44:51 -04:00
+ <Text>{`${result}`}</Text>
2026-09-20 19:34:58 -04:00
{activeSession && (
<Text