mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Crash fix attempt: Moving NanoUI resource file sending away from client/New()
it's going in mob/Login() instead. Conflicts: code/modules/client/client procs.dm code/modules/mob/login.dm
This commit is contained in:
@@ -292,9 +292,6 @@
|
||||
/client/proc/send_resources()
|
||||
// preload_vox() //Causes long delays with initial start window and subsequent windows when first logged in.
|
||||
|
||||
// Send NanoUI resources to this client
|
||||
nanomanager.send_resources(src)
|
||||
|
||||
getFiles(
|
||||
'html/search.js',
|
||||
'html/panels.css',
|
||||
|
||||
@@ -56,4 +56,8 @@
|
||||
if(H.species && H.species.abilities)
|
||||
client.verbs |= H.species.abilities
|
||||
|
||||
CallHook("Login", list("client" = src.client, "mob" = src))
|
||||
nanomanager.send_resources(client)
|
||||
|
||||
CallHook("Login", list("client" = src.client, "mob" = src))
|
||||
|
||||
|
||||
|
||||
@@ -29,5 +29,6 @@
|
||||
new_player_panel()
|
||||
spawn(40)
|
||||
if(client)
|
||||
nanomanager.send_resources(client)
|
||||
handle_privacy_poll()
|
||||
client.playtitlemusic()
|
||||
|
||||
Reference in New Issue
Block a user