Skip to content
Permalink
Browse files

fix script error when striking sword (#1731)

  • Loading branch information...
MDT-Maikel committed May 1, 2016
1 parent 9741af4 commit 3907281933b568ab233a1d5eab521b041c08ccae
Showing with 1 addition and 1 deletion.
  1. +1 −1 planet/Objects.ocd/Items.ocd/Weapons.ocd/Sword.ocd/Script.c
@@ -55,7 +55,7 @@ public func ControlUse(object clonk, int x, int y)
if(clonk->IsWalking())
{
if(!GetEffect("SwordStrikeStop", clonk))
movement_effect = AddEffect("SwordStrikeStop", clonk, 2, length, nil, GetID());
movement_effect = AddEffect("SwordStrikeStop", clonk, 2, length, this);
}
else
if(clonk->IsJumping())

0 comments on commit 3907281

Please sign in to comment.
You can’t perform that action at this time.