1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

removing comments

This commit is contained in:
Aaron Veden 2021-11-26 12:46:51 -08:00
parent b71a2de984
commit 940de53470
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84

View File

@ -432,8 +432,6 @@ function chunkUtils.processPendingUpgrades(map, tick)
end
if entity then
if entity.valid then
-- print("upgrading", entity.unit_number, tick, table_size(pendingUpgrades))
-- constants.gpsDebug(entity.position.x, entity.position.y, entity.unit_number)
map.pendingUpgradeIterator = next(pendingUpgrades, entity)
pendingUpgrades[entity] = nil
local universe = map.universe
@ -456,8 +454,6 @@ function chunkUtils.processPendingUpgrades(map, tick)
tick)
end
if base then
-- print("registering", tick)
-- constants.gpsDebug(entity.position.x, entity.position.y, "registered")
chunkUtils.registerEnemyBaseStructure(map, createdEntity, base)
end
else
@ -476,7 +472,6 @@ function chunkUtils.processPendingUpgrades(map, tick)
end
end
else
-- print("skipping invalid", tick)
map.pendingUpgradeIterator = next(pendingUpgrades, entity)
pendingUpgrades[entity] = nil
end