Browse Source

Updating game patch version to correct patch

main
Jonathan 1 year ago
parent
commit
3d10256b9f
  1. 6
      IGP/Pages/Database/DatabasePage.razor
  2. 4
      IGP/Pages/Database/DatabaseSinglePage.razor
  3. 6
      Model/Variables.cs

6
IGP/Pages/Database/DatabasePage.razor

@ -2,10 +2,10 @@
@inherits BasePage
@page "/database"
@using Model
@implements IDisposable
@inject IEntityDisplayService EntityDisplayService
@inject IVariableService VariableService
<LayoutLargeContentComponent>
@ -14,7 +14,7 @@
<PaperComponent>
<FormDisplayComponent Label="Patch">
<Display>
Game Patch: @VariableService.Variables["GamePatch"]
Game Patch: @Variables.GamePatch
</Display>
</FormDisplayComponent>
</PaperComponent>
@ -72,7 +72,7 @@
Is this database updated to the latest version?
</InfoQuestionComponent>
<InfoAnswerComponent>
Maybe. Check this <b>@VariableService.Variables["GamePatch"]</b> version number, and compare it to the
Maybe. Check this <b>@Variables.GamePatch</b> version number, and compare it to the
number on discord, in the <b>#game-updates</b> channel. That should give a general sense of how out of
date the data is.
</InfoAnswerComponent>

4
IGP/Pages/Database/DatabaseSinglePage.razor

@ -5,8 +5,8 @@
@page "/database/{text}"
@inject IEntityDisplayService EntityDisplayService
@inject IVariableService VariableService
@using Model
@implements IDisposable
@ -14,7 +14,7 @@
<PaperComponent>
<FormDisplayComponent Label="Patch">
<Display>
Game Patch: @VariableService.Variables["GamePatch"]
Game Patch: @Variables.GamePatch
</Display>
</FormDisplayComponent>
</PaperComponent>

6
Model/Variables.cs

@ -0,0 +1,6 @@
namespace Model;
public static class Variables
{
public static string GamePatch = "0.0.6.10125a";
}
Loading…
Cancel
Save