fix script error when striking sword (#1731)

liquid_container
Maikel de Vries 2016-05-01 16:54:05 +02:00
parent 9741af42fd
commit 3907281933
1 changed files with 1 additions and 1 deletions

View File

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