mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix AreaMap2D.clear
This commit is contained in:
parent
2fa6b67d7f
commit
d7e2eaed7c
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ namespace util {
|
|||
auto i = y * sizeX + x;
|
||||
auto value = firstBuffer[i];
|
||||
firstBuffer[i] = {};
|
||||
if (outCallback) {
|
||||
if (outCallback && value != T {}) {
|
||||
outCallback(x + offsetX, y + offsetY, value);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue