1
0
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:
Aaron Veden 2023-05-08 19:27:55 -07:00
parent d20b6a680a
commit 439c485354
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 3.3.3
Bugfixes:
- Added check for invalid entity upgrade
---------------------------------------------------------------------------------------------------
Version: 3.3.2
Bugfixes:

View File

@ -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