Skip to content

Commit

Permalink
Fix panthera with 3 version
Browse files Browse the repository at this point in the history
  • Loading branch information
Insality committed Sep 14, 2024
1 parent 5d24ae1 commit c5d5ac1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions systems/panthera/panthera_decore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ function M:onAdd(entity)
local p = entity.panthera
p.detached_animations = {}

local get_node = M.get_node_fn(nil, entity.game_object.object)
local animation_state = panthera.create_go(p.animation_path, get_node)
local animation_state = panthera.create_go(p.animation_path, nil, entity.game_object.object)

if animation_state then
p.animation_state = animation_state
Expand Down

0 comments on commit c5d5ac1

Please sign in to comment.