mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
Makes switching loadout tabs not refresh preview, fixes new character loading. (#16167)
Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -356,7 +356,7 @@ var/list/gear_datums = list()
|
||||
|
||||
else if(href_list["select_category"])
|
||||
current_tab = href_list["select_category"]
|
||||
return TOPIC_REFRESH_UPDATE_PREVIEW
|
||||
return TOPIC_REFRESH
|
||||
else if(href_list["clear_loadout"])
|
||||
pref.gear.Cut()
|
||||
return TOPIC_REFRESH_UPDATE_PREVIEW
|
||||
|
||||
@@ -324,6 +324,7 @@ datum/preferences
|
||||
else if(href_list["new_character_sql"])
|
||||
new_setup(1)
|
||||
to_chat(usr, "<span class='notice'>Your setup has been refreshed.</span>")
|
||||
usr.client.prefs.update_preview_icon()
|
||||
close_load_dialog(usr)
|
||||
else if(href_list["close_load_dialog"])
|
||||
close_load_dialog(usr)
|
||||
|
||||
Reference in New Issue
Block a user