mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
FACTO-332: Added check for invalid entity upgrade
This commit is contained in:
parent
d20b6a680a
commit
439c485354
@ -1,3 +1,8 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.3.3
|
||||
Bugfixes:
|
||||
- Added check for invalid entity upgrade
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.3.2
|
||||
Bugfixes:
|
||||
|
@ -456,7 +456,7 @@ function BaseUtils.queueUpgrade(entity, base, disPos, evolve, timeDelay)
|
||||
evolve)
|
||||
|
||||
local entityName = entity.name
|
||||
if name == entityName then
|
||||
if not name or (name == entityName) then
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user