Skip to content

Commit

Permalink
Reodered some buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeName-Anti committed Aug 30, 2024
1 parent 20ab20e commit 6e11804
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions HTogether/HTogether.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net472</TargetFramework>
<AssemblyName>HTogether</AssemblyName>
<Product>HTogether</Product>
<Version>1.0.1</Version>
<Version>1.0.2</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<RestoreAdditionalProjectSources>
Expand Down Expand Up @@ -151,7 +151,6 @@
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="$(SuperMarketTogetherDir) != ''">

<!--SuperMarketTogetherDir is defined in HTogether.csproj.user which is not included because of the .gitignore-->
<Exec Command="xcopy &quot;$(TargetPath)&quot; &quot;$(SuperMarketTogetherDir)\BepInEx\plugins&quot; /Y" />
<Exec Command="xcopy &quot;$(TargetDir)$(AssemblyName).pdb&quot; &quot;$(SuperMarketTogetherDir)\BepInEx\plugins&quot; /Y /I" />
Expand Down
2 changes: 2 additions & 0 deletions HTogether/Modules/Test/MoneyModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public override void RenderGUIElements()
GameData.Instance.NetworkgameFunds += amount;
}

ImGui.SameLine();

if (ImGui.Button("Remove"))
{
GameData.Instance.NetworkgameFunds -= amount;
Expand Down
2 changes: 0 additions & 2 deletions HTogether/Modules/Test/TestingModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ public override void RenderGUIElements()

ImGui.SliderInt("Box Item Amount", ref amount, 0, 10000);

ImGui.SameLine();

if (ImGui.Button("Set amount") && LobbyController.Instance.LocalplayerController.isServer)
{
Camera main = Camera.main;
Expand Down

0 comments on commit 6e11804

Please sign in to comment.