From 3b4e499d7f9750e56e81b1cc8cae4db4f73e99b8 Mon Sep 17 00:00:00 2001
From: JimmyTheCat <154287729+JimmyTheCatOwO@users.noreply.github.com>
Date: Thu, 9 Jan 2025 15:20:57 +0100
Subject: [PATCH] Tile constructor call adjusted

---
 Board.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Board.java b/Board.java
index e1fddbe..3abdda8 100644
--- a/Board.java
+++ b/Board.java
@@ -27,14 +27,14 @@ public class Board extends Thread {
      * Creates the Tiles and Players and sets the player who starts the game.
      */
     Board() {
-        for(int i = 0; i < tiles.length; i++) tiles[i] = new Tile(this,0,0,0);
+        for(int i = 0; i < tiles.length; i++) tiles[i] = new Tile(0,0,0);
         for(int i = 0; i < players.length; i++) players[i] = new Player(i+1);
         currentPlayer = 0;
         marks = 0;
     }
 
     Board(Player[] players) {
-        for(int i = 0; i < tiles.length; i++) tiles[i] = new Tile(this,0,0,0);
+        for(int i = 0; i < tiles.length; i++) tiles[i] = new Tile(0,0,0);
         this.players = players;
         currentPlayer = 0;
         marks = 0;
-- 
GitLab