1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-26 20:54:12 +02:00

FACTO-256: missed return on entity upgrade when invalid

This commit is contained in:
Aaron Veden 2023-03-12 14:21:24 -07:00
parent 77d5fb48b6
commit 852df6d140
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84

View File

@ -517,7 +517,9 @@ function Processor.processPendingUpgrades(tick)
local entity = entityData.entity
if not entity.valid then
Universe.pendingUpgrades[entityId] = nil
return
end
if entityData.delayTLL and tick < entityData.delayTLL then
return
end