mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
Crash fix attempt: Moving NanoUI resource file sending away from client/New()
it's going in mob/Login() instead.
This commit is contained in:
@@ -243,9 +243,6 @@
|
|||||||
/client/proc/send_resources()
|
/client/proc/send_resources()
|
||||||
// preload_vox() //Causes long delays with initial start window and subsequent windows when first logged in.
|
// 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(
|
getFiles(
|
||||||
'html/search.js',
|
'html/search.js',
|
||||||
'html/panels.css',
|
'html/panels.css',
|
||||||
|
|||||||
@@ -55,3 +55,5 @@
|
|||||||
var/mob/living/carbon/human/H = src
|
var/mob/living/carbon/human/H = src
|
||||||
if(H.species && H.species.abilities)
|
if(H.species && H.species.abilities)
|
||||||
client.verbs |= H.species.abilities
|
client.verbs |= H.species.abilities
|
||||||
|
|
||||||
|
nanomanager.send_resources(client)
|
||||||
|
|||||||
@@ -29,5 +29,6 @@
|
|||||||
new_player_panel()
|
new_player_panel()
|
||||||
spawn(40)
|
spawn(40)
|
||||||
if(client)
|
if(client)
|
||||||
|
nanomanager.send_resources(client)
|
||||||
handle_privacy_poll()
|
handle_privacy_poll()
|
||||||
client.playtitlemusic()
|
client.playtitlemusic()
|
||||||
|
|||||||
Reference in New Issue
Block a user