From eb1f94b7365c952028804a8b73754396d5c8c883 Mon Sep 17 00:00:00 2001
From: Eli Fjellbirkeland Johannesen <elifjoh@stud.ntnu.no>
Date: Thu, 16 Mar 2023 12:43:02 +0100
Subject: [PATCH] Fix

---
 frontend/core/src/com/game/tankwars/TankWarsGame.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frontend/core/src/com/game/tankwars/TankWarsGame.java b/frontend/core/src/com/game/tankwars/TankWarsGame.java
index c80fa99..2a5d771 100644
--- a/frontend/core/src/com/game/tankwars/TankWarsGame.java
+++ b/frontend/core/src/com/game/tankwars/TankWarsGame.java
@@ -41,6 +41,7 @@ public class TankWarsGame extends Game {
 
 	@Override
 	public void create() {
+		batch = new SpriteBatch();
 		// Font from https://www.fontspace.com/roll-accurate-font-f32330
 		font = generateFontFromTTFFile("RollAccurate-mvrx.ttf");
 		// Camera size set to main menu dimensions: portrait mode
-- 
GitLab