From fc83a5b6170ecf57dc9a6e7c0acc1c2b23e4c304 Mon Sep 17 00:00:00 2001
From: Dmgvol <34919093+Dmgvol@users.noreply.github.com>
Date: Tue, 1 Jun 2021 23:10:50 +0300
Subject: [PATCH] quickfix
---
HiredGunTrainer/MainWindow.xaml | 3 ++-
HiredGunTrainer/MainWindow.xaml.cs | 4 ++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/HiredGunTrainer/MainWindow.xaml b/HiredGunTrainer/MainWindow.xaml
index 0060e84..6c0b8b1 100644
--- a/HiredGunTrainer/MainWindow.xaml
+++ b/HiredGunTrainer/MainWindow.xaml
@@ -72,7 +72,8 @@
-
+
+
diff --git a/HiredGunTrainer/MainWindow.xaml.cs b/HiredGunTrainer/MainWindow.xaml.cs
index 55e9b92..6dcd9fc 100644
--- a/HiredGunTrainer/MainWindow.xaml.cs
+++ b/HiredGunTrainer/MainWindow.xaml.cs
@@ -7,6 +7,9 @@
namespace HiredGunTrainer {
public partial class MainWindow : Window {
+ // GLOBAL
+ public const double VERSION = 0.5;
+
// game speeds
private float[] gameSpeeds = new float[4] { 1.0f, 2.0f, 4.0f, 0.5f };
private int currGameSpeed = 0;
@@ -27,6 +30,7 @@ public partial class MainWindow : Window {
public MainWindow() {
InitializeComponent();
+ VersionLabel.Content = $"v{VERSION}";
// game hook
gameHook = new GameHook(this);