Skip to content

Commit 69f7d99

Browse files
committed
Fix things
1 parent 8c9ee6b commit 69f7d99

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

include/assets.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ DECLARE_FILE(_binary_AdvancedSettingsView_bsml, Assets, AdvancedSettingsView_bsm
55
DECLARE_FILE(_binary_ParametricBoxFrameHD_shader, Assets, ParametricBoxFrameHD_shader);
66
DECLARE_FILE(_binary_PresetsView_bsml, Assets, PresetsView_bsml);
77
DECLARE_FILE(_binary_SaberBlade_shader, Assets, SaberBlade_shader);
8+
DECLARE_FILE(_binary_SaberBladeOrig_shader, Assets, SaberBladeOrig_shader);
89
DECLARE_FILE(_binary_SettingsView_bsml, Assets, SettingsView_bsml);
910
DECLARE_FILE(_binary_fpscounter_bund, Assets, fpscounter_bund);

src/main.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ void ApplySettingsToPreset(::ByRef<::BeatSaber::Settings::Settings> preset) {
105105

106106
preset->quality.smokeGraphics =
107107
getGraphicsTweaksConfig().SmokeQuality.GetValue() > 0;
108-
// Enable depth texture if smoke quality is high
109-
preset->quality.depthTexture =
110-
getGraphicsTweaksConfig().SmokeQuality.GetValue() > 1;
111108

112109
preset->quality.maxShockwaveParticles =
113110
getGraphicsTweaksConfig().NumShockwaves.GetValue();
@@ -282,7 +279,6 @@ MAKE_HOOK_MATCH(ConditionalActivation_Awake,
282279
GlobalNamespace::ConditionalActivation *self) {
283280
auto gameObject = self->get_gameObject();
284281
std::string name = gameObject->get_name();
285-
return;
286282

287283
if (GraphicsTweaks::IsInRender()) {
288284
INFO("Skipping ConditionalActivation_Awake because we are in render state.");
@@ -295,6 +291,7 @@ MAKE_HOOK_MATCH(ConditionalActivation_Awake,
295291
!getGraphicsTweaksConfig().Bloom.GetValue());
296292
}
297293

294+
// TODO: Maybe remove if not required anymore
298295
if (name == "BigSmokePS") {
299296
gameObject->SetActive(
300297
getGraphicsTweaksConfig().SmokeQuality.GetValue() > 0);

0 commit comments

Comments
 (0)