LoadingScreen Safeguards

Shorter time
Added check
This commit is contained in:
ChocoTaco1 2025-08-18 16:15:26 -04:00
parent 7fe6bb3b98
commit 7cd1cb8815

View file

@ -51,7 +51,7 @@
// First Screen loading time (Map Screen) // First Screen loading time (Map Screen)
// If this is set too low the second screen wont show at all // If this is set too low the second screen wont show at all
$dtLoadingScreen::FirstScreen = 5500; $dtLoadingScreen::FirstScreen = 3000;
// Second Screen Delay // Second Screen Delay
$dtLoadingScreen::Delay = 0; $dtLoadingScreen::Delay = 0;
@ -149,6 +149,10 @@ if (!isActivePackage(LoadScreenPackage) && $Host::LoadingScreenUseDebrief)
// Just make our own // Just make our own
function ALTsendModInfoToClient(%client) function ALTsendModInfoToClient(%client)
{ {
if(%client.isReady){
return;
}
// Wont allow Debrief on consecutive map loads // Wont allow Debrief on consecutive map loads
if(%client.loaded) if(%client.loaded)
{ {