Corentin Cailleaud commited on
Commit
f29f54d
1 Parent(s): ffe6eae
Files changed (1) hide show
  1. cubzh.lua +1 -1
cubzh.lua CHANGED
@@ -679,7 +679,7 @@ local skills = {
679
  end
680
 
681
  Object:Load("claire.party_hat", function(obj)
682
- require("hierarchyactions"):apply(obj, { includeRoot = true }, function(o)
683
  o.Physics = PhysicsMode.Disabled
684
  end)
685
  Player:EquipHat(obj)
 
679
  end
680
 
681
  Object:Load("claire.party_hat", function(obj)
682
+ require("hierarchyactions"):applyToDescendants(obj, { includeRoot = true }, function(o)
683
  o.Physics = PhysicsMode.Disabled
684
  end)
685
  Player:EquipHat(obj)