mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 16:30:16 +00:00
remove unnecessary constants
This commit is contained in:
@@ -219,8 +219,6 @@ export class TerritoryLayer implements Layer {
|
||||
// Step 1: Get dirty rect
|
||||
const dx = this.minDirtyX;
|
||||
const dy = this.minDirtyY;
|
||||
const dw = this.maxDirtyX - dx + 1;
|
||||
const dh = this.maxDirtyY - dy + 1;
|
||||
|
||||
// Step 2: Get visible bounds
|
||||
const [topLeft, bottomRight] =
|
||||
|
||||
Reference in New Issue
Block a user