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

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Reqwey committed Nov 16, 2022
1 parent 6d9294c commit 57da499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,8 @@ function gameJoin(username) {
$(`#td${window.selectedTd.x}-${window.selectedTd.y}`).html(window.selectedTd.unit)
} else {
window.selectedTd.half = true
window.selectedTd.unit = $td.html()
$td.html(`50%`)
window.selectedTd.unit = $(`#td${window.selectedTd.x}-${window.selectedTd.y}`).html()
$(`#td${window.selectedTd.x}-${window.selectedTd.y}`).html(`50%`)
}
} else if (event.which === 69) { // E to pop_back
let route = window.queue.pop_back()
Expand Down

0 comments on commit 57da499

Please sign in to comment.