Fix loading screen messages not appearing (#3925)

## About The Pull Request
516 fucked with href stuff and so this request never sends and the
client is never marked ready so init loading messages don't get sent

## Why It's Good For The Game
Cool live loading messages

## Proof Of Testing
This is a web edit from bed that I tested earlier and it worked

## Changelog
🆑
fix: fixed loading screen not updating as subsystems init
fix: fixed character name on title screen not updating when changing
slots
/🆑
This commit is contained in:
Roxy
2025-05-29 04:14:50 -04:00
committed by GitHub
parent 227f375ab4
commit 157956cdfa
@@ -170,13 +170,12 @@ GLOBAL_LIST_EMPTY(startup_messages)
"}
// Tell the server this page loaded.
dat += {"
<script>
var ready_request = new XMLHttpRequest();
ready_request.open("GET", "?src=[text_ref(src)];title_is_ready=1", true);
ready_request.send();
</script>
"}
if(!title_screen_is_ready)
dat += {"
<script>
location.href = "byond://?src=[text_ref(src)];title_is_ready=1";
</script>
"}
dat += "</body></html>"