syntax xd

This commit is contained in:
kotyara 2023-06-16 16:55:50 +05:00
parent 58626eeb95
commit 84dd0b82b3
5 changed files with 20 additions and 20 deletions

View file

@ -62,7 +62,7 @@ class TileNavigator implements ITileNavigator
$open->insert($neighbor, -$tentativeG);
$has[(string)$neighbor] = true;
}
else if ($tentativeG >= $gScore[(string) $neighbor])
elseif ($tentativeG >= $gScore[(string) $neighbor])
{
continue;
}