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:
parent
77d5fb48b6
commit
852df6d140
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user