mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
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:
@@ -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>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user