Merge remote-tracking branch 'refs/remotes/origin/weekend-fixings' into feature-config-parsing2

This commit is contained in:
2024-08-25 17:52:06 -04:00
6 changed files with 120 additions and 106 deletions
+1 -1
View File
@@ -798,7 +798,7 @@ public enum BuildingManager {
// Attempt to write to database or delete the building
// if we are destroying it.
if (rank == -1)
if (rank < 0)
success = DbManager.BuildingQueries.DELETE_FROM_DATABASE(building);
else
success = DbManager.BuildingQueries.updateBuildingRank(building, rank);