Closed hclivess closed 1 week ago
side effect suspect: when more than one player are present on one tile, clicking challenge on any of them will always challenge the first in list. probably false because just "type" is used for pvp while "name" should be the name of the chosen enemy
currently code seems to take action against first player it has in the list when doing pvp, investigate and test map.js 161 const playerType = playersOnTile[0].type; // Assuming the first player's type is used