mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-11-18 17:17:31 +00:00
Fix missing WrapID to Wrap rename
This commit is contained in:
parent
96c2da8f78
commit
635085f923
@ -19,7 +19,7 @@ local oldPerkSpawn = perk_spawn
|
|||||||
---@param dontRemoveOtherPerks boolean
|
---@param dontRemoveOtherPerks boolean
|
||||||
---@return NoitaEntity|nil
|
---@return NoitaEntity|nil
|
||||||
function perk_spawn(x, y, perkID, dontRemoveOtherPerks)
|
function perk_spawn(x, y, perkID, dontRemoveOtherPerks)
|
||||||
local entity = EntityAPI.WrapID(oldPerkSpawn(x, y, perkID, dontRemoveOtherPerks))
|
local entity = EntityAPI.Wrap(oldPerkSpawn(x, y, perkID, dontRemoveOtherPerks))
|
||||||
if entity == nil then return end
|
if entity == nil then return end
|
||||||
|
|
||||||
-- Remove the SpriteOffsetAnimatorComponent components from the entity.
|
-- Remove the SpriteOffsetAnimatorComponent components from the entity.
|
||||||
|
Loading…
Reference in New Issue
Block a user