Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Commit

Permalink
Fix ID compatibility issues. (#49)
Browse files Browse the repository at this point in the history
Close #48
  • Loading branch information
95CivicSi authored and Infernus101 committed Jan 2, 2018
1 parent 3b80bfe commit 079646d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Infernus101/KitUI/UI/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public function isInRange(int $windowId): bool {
}

public function getWindowIdFor(int $windowId): int {
if($windowId >= 3200) {
return $windowId - 3200;
if($windowId >= 10100) {
return $windowId - 10100;
}
return 3200 + $windowId;
return 10100 + $windowId;
}
}

0 comments on commit 079646d

Please sign in to comment.