Skip to content

Commit

Permalink
quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmgvol committed Jun 1, 2021
1 parent 12b5795 commit fc83a5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HiredGunTrainer/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@

<!--SECOND SECTION-->
<Grid Grid.Row="0" VerticalAlignment="Bottom">
<Label Content="by dmgvol" Foreground="{StaticResource Text}"/>
<Label Content="by DmgVol, LongerWarrior" Foreground="{StaticResource Text}"/>
<Label x:Name="VersionLabel" HorizontalAlignment="Right" Foreground="{StaticResource Text}"/>
</Grid>

<Grid Background="{StaticResource Background}" Visibility="Hidden" x:Name="errorGrid">
Expand Down
4 changes: 4 additions & 0 deletions HiredGunTrainer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -27,6 +30,7 @@ public partial class MainWindow : Window {

public MainWindow() {
InitializeComponent();
VersionLabel.Content = $"v{VERSION}";
// game hook
gameHook = new GameHook(this);

Expand Down

0 comments on commit fc83a5b

Please sign in to comment.