mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Fixes the quirk menu not updating (#94673)
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
if(response != "Yes")
|
||||
return TRUE
|
||||
|
||||
|
||||
/datum/preference_middleware/quirks/post_set_preference(mob/user, preference, value)
|
||||
if(preference != "species")
|
||||
return
|
||||
@@ -107,11 +106,12 @@
|
||||
// If the client is sending an invalid give_quirk, that means that
|
||||
// something went wrong with the client prediction, so we should
|
||||
// catch it back up to speed.
|
||||
preferences.update_static_data(user)
|
||||
preferences.update_static_data(user, always_instant = TRUE)
|
||||
return TRUE
|
||||
|
||||
preferences.all_quirks = new_quirks
|
||||
preferences.character_preview_view?.update_body()
|
||||
preferences.update_static_data(user, always_instant = TRUE)
|
||||
|
||||
return TRUE
|
||||
|
||||
@@ -126,11 +126,12 @@
|
||||
// If the client is sending an invalid remove_quirk, that means that
|
||||
// something went wrong with the client prediction, so we should
|
||||
// catch it back up to speed.
|
||||
preferences.update_static_data(user)
|
||||
preferences.update_static_data(user, always_instant = TRUE)
|
||||
return TRUE
|
||||
|
||||
preferences.all_quirks = new_quirks
|
||||
preferences.character_preview_view?.update_body()
|
||||
preferences.update_static_data(user, always_instant = TRUE)
|
||||
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user