Skip to content

Commit

Permalink
Clean up and organization
Browse files Browse the repository at this point in the history
  • Loading branch information
ckosmic committed Sep 6, 2021
1 parent 05ffcaa commit 120ed43
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
8 changes: 4 additions & 4 deletions IForgor/IForgor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="NoteRecorder.cs" />
<Compile Include="PauseUIManager.cs" />
<Compile Include="Recorders\NoteRecorder.cs" />
<Compile Include="UI\PauseUIManager.cs" />
<Compile Include="Plugin.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SaberRecorder.cs" />
<Compile Include="UIGroup.cs" />
<Compile Include="Recorders\SaberRecorder.cs" />
<Compile Include="UI\UIGroup.cs" />
<Compile Include="Utils\ResourceUtilities.cs" />
</ItemGroup>
<ItemGroup>
Expand Down
File renamed without changes.
11 changes: 3 additions & 8 deletions IForgor/SaberRecorder.cs → IForgor/Recorders/SaberRecorder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,9 @@ private void Awake() {
}

private void OnEnable() {
Saber[] sabers = Resources.FindObjectsOfTypeAll<Saber>();
if (sabers[0].saberType == SaberType.SaberA) {
_saberA = sabers[0];
_saberB = sabers[1];
} else {
_saberA = sabers[1];
_saberB = sabers[0];
}
SaberManager saberManager = Resources.FindObjectsOfTypeAll<SaberManager>().First();
_saberA = saberManager.leftSaber;
_saberB = saberManager.rightSaber;
}

public void RecordSaberAngles() {
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions IForgor/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"id": "I Forgor",
"name": "IForgor",
"author": "ckosmic",
"version": "1.0.2",
"version": "1.0.3",
"description": "A mod that displays the last notes and saber angles before you paused in the pause menu.",
"gameVersion": "1.16.3",
"dependsOn": {
"BSIPA": "^4.1.6",
"BSIPA": "^4.2.0",
"BeatSaberMarkupLanguage": "^1.5.3",
"BS Utils": "^1.10.0"
},
Expand Down

0 comments on commit 120ed43

Please sign in to comment.