From 01dbfb6a9d7b596e2568153d03f701de2f3d31b6 Mon Sep 17 00:00:00 2001 From: Lily Date: Thu, 5 Dec 2024 22:59:35 +0300 Subject: [PATCH] it seems to be brok --- source/StartupState.hx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/source/StartupState.hx b/source/StartupState.hx index 953698c3e6a..b7d61892735 100644 --- a/source/StartupState.hx +++ b/source/StartupState.hx @@ -20,11 +20,14 @@ class StartupState extends MusicBeatState var skipTxt:FlxText; var maxIntros:Int = 3; - var maxSecretIntros:Int = -1; // trolley + var maxSecretIntros:Int = 0; // trolley override public function create():Void { - #if VIDEOS_ALLOWED maxIntros = maxSecretIntros += 2; #end + #if VIDEOS_ALLOWED + maxIntros += 2; + maxSecretIntros += 1; + #end var theIntro:Int = FlxG.random.int(0, maxIntros); var theSecretIntro:Int = FlxG.random.int(0, maxSecretIntros); FlxTransitionableState.skipNextTransIn = true; @@ -89,10 +92,10 @@ class StartupState extends MusicBeatState { switch (theSecretIntro) { + case 0: + playVideo('oops'); case 1: playVideo('haxe'); - default: - playVideo('oops'); } } });