Skip to content

Commit

Permalink
fix(view): fixes view wrapper load order
Browse files Browse the repository at this point in the history
  • Loading branch information
intercepti0n authored Apr 23, 2024
1 parent e4186b1 commit 555e086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/client/client_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@
if(!winexists(src, "asset_cache_browser")) // The client is using a custom skin, tell them.
to_chat(src, SPAN("warning", "Unable to access asset cache browser, if you are using a custom skin file, please allow DS to download the updated version, if you are not, then make a bug report. This is not a critical issue but can cause issues with resource downloading, as it is impossible to know when extra resources arrived to you."))

view_size = new(src, get_screen_size(TRUE))

if(prefs && !istype(mob, world.mob))
prefs.apply_post_login_preferences(src)

Expand All @@ -269,8 +271,6 @@
)
add_think_ctx("check_panel_loaded", CALLBACK(src, nameof(.proc/check_panel_loaded)), world.time + 30 SECONDS)

view_size = new(src, get_screen_size(get_preference_value("WIDESCREEN") == GLOB.PREF_YES))

if(config.general.player_limit && is_player_rejected_by_player_limit(usr, ckey))
if(config.multiaccount.panic_server_address && TopicData != "redirect")
DIRECT_OUTPUT(src, SPAN("warning", "<h1>This server is currently full and not accepting new connections. Sending you to [config.multiaccount.panic_server_name ? config.multiaccount.panic_server_name : config.multiaccount.panic_server_address]</h1>"))
Expand Down

0 comments on commit 555e086

Please sign in to comment.