mirror of
https://github.com/LucasVbr/EnglishRolePlayGame.git
synced 2026-05-13 17:11:50 +00:00
Update script.js
This commit is contained in:
@@ -61,6 +61,8 @@ function nextTurn(id, rep=0) {
|
||||
|
||||
if (expHacker > expCyber) {
|
||||
titleElement.innerText = playerHacker + " Won!";
|
||||
backgroundElement.classList.remove("turn-cyber");
|
||||
backgroundElement.classList.add("turn-hacker");
|
||||
} else {
|
||||
titleElement.innerText = playerCyber + " Won!";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user