Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
stinky thingy to make gui appear for now
Browse files Browse the repository at this point in the history
  • Loading branch information
EtheraelEspeon committed Jan 27, 2024
1 parent 8212810 commit 571ba39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Client/VoxelClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Runtime.InteropServices;
using GlmSharp;
using Veldrid.Sdl2;
using Voxel.Client.Gui;
using Voxel.Client.Keybinding;
using Voxel.Client.Network;
using Voxel.Client.Rendering;
Expand Down Expand Up @@ -80,6 +81,8 @@ public override void Init() {

GameRenderer = new(this);
GameRenderer.MainCamera.aspect = (float)NativeWindow.Width / NativeWindow.Height;

new PlayerHUDScreen().BuildClientGui();
}

public void SetupWorld() {
Expand Down

0 comments on commit 571ba39

Please sign in to comment.