Skip to content

Commit 8526be8

Browse files
committed
Fix bomb scale when the mod is not init
1 parent 7dc2216 commit 8526be8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Patches/PBombNoteController.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ namespace QBeatSaberPlus_NoteTweaker::Patches {
4747
////////////////////////////////////////////////////////////////////////////
4848
////////////////////////////////////////////////////////////////////////////
4949

50-
static bool PBombNoteController_Enabled = false;
51-
static bool PBombNoteController_TempEnabled = false;
52-
static int32_t PBombNoteController_ColorID = 0;
50+
static bool PBombNoteController_Enabled = false;
51+
static bool PBombNoteController_TempEnabled = false;
52+
static int32_t PBombNoteController_ColorID = 0;
5353
static Color PBombNoteController_Color;
54-
static Vector3 PBombNoteController_Scale;
55-
static float PBombNoteController_InvScale;
56-
static Vector3 PBombNoteController_TempScale;
57-
static float PBombNoteController_TempInvScale;
54+
static Vector3 PBombNoteController_Scale = Vector3(1.0f, 1.0f, 1.0f);
55+
static float PBombNoteController_InvScale = 1.0f;
56+
static Vector3 PBombNoteController_TempScale = Vector3(1.0f, 1.0f, 1.0f);
57+
static float PBombNoteController_TempInvScale = 1.0f;
5858

5959
static bool PBombNoteController_WasInit = false;
6060
static std::vector<PBombNoteControllerCache> PBombNoteController_Cache;

0 commit comments

Comments
 (0)