Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Limiana committed Dec 25, 2024
1 parent 955b9c8 commit 13ec6e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Splatoon/Gui/CGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ void Draw()
("Contribute".Loc(), Contribute.Draw, null, true)
//("Contributors".Loc(), TabContributors.Draw, null, true)
);
TabRequest = null;
}
}
catch(Exception ex)
Expand Down
2 changes: 1 addition & 1 deletion Splatoon/Splatoon.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Authors>NightmareXIV</Authors>
<Version>3.7.4.3</Version>
<Version>3.7.4.4</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public enum Mode
private State _state = State.None;

public override HashSet<uint>? ValidTerritories => [1238];
public override Metadata? Metadata => new(9, "Garume");
public override Metadata? Metadata => new(10, "Garume");

private Config C => Controller.GetConfig<Config>();

Expand Down Expand Up @@ -770,7 +770,7 @@ public override void OnActorControl(uint sourceId, uint command, uint p1, uint p

public override void OnUpdate()
{
if (_state is State.None or State.Start or State.End)
if ((_state is State.None or State.Start or State.End) || !Svc.Objects.Any(x => x.DataId == 17832))
{
Controller.GetRegisteredElements().Each(x => x.Value.Enabled = false);
return;
Expand Down

0 comments on commit 13ec6e3

Please sign in to comment.