Fix "not on Homeworld" warning

This commit is contained in:
Liza 2024-03-28 14:10:18 +01:00
parent 00c9dbb0a2
commit 69a23ef2b6
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework> <TargetFramework>net8.0-windows</TargetFramework>
<Version>4.1</Version> <Version>4.2</Version>
<LangVersion>12</LangVersion> <LangVersion>12</LangVersion>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

View File

@ -192,7 +192,7 @@ internal sealed class TurnInWindow : LWindow
!IsOnHomeWorld) !IsOnHomeWorld)
{ {
State = false; State = false;
ImGui.TextColored(ImGuiColors.DalamudRed, "You are not on your home world."); ImGui.TextColored(ImGuiColors.DalamudRed, "Turn-in disabled, you are not on your home world.");
return; return;
} }
@ -213,7 +213,7 @@ internal sealed class TurnInWindow : LWindow
if (_configuration.BehaviorOnOtherWorld == Configuration.EBehaviorOnOtherWorld.Warning && !IsOnHomeWorld) if (_configuration.BehaviorOnOtherWorld == Configuration.EBehaviorOnOtherWorld.Warning && !IsOnHomeWorld)
{ {
ImGui.TextColored(ImGuiColors.DalamudRed, ImGui.TextColored(ImGuiColors.DalamudRed,
"Turn-In disabled, you are not on your home world and will not earn FC points."); "You are not on your home world and will not earn FC points.");
} }
if (Multiplier == 1m) if (Multiplier == 1m)