forked from Mirrors/openclonk
fix typo in ladder library that adds an infinite amount of effects to the clonk over time
parent
8889a68127
commit
041597971f
|
@ -50,6 +50,7 @@ public func StartScale() { return _inherited(...); }
|
|||
|
||||
public func StartSearchLadder()
|
||||
{
|
||||
Log("StartSearchLadder[%d](%v)", FrameCounter(), this);
|
||||
// Call the overwriten old phase call.
|
||||
if (GetAction() == "Jump" && this.ActMap.Jump.StartCallLadderOverloaded)
|
||||
Call(this.ActMap.Jump.StartCallLadderOverloaded);
|
||||
|
@ -62,7 +63,7 @@ public func StartSearchLadder()
|
|||
|
||||
public func AddSearchLadderEffect()
|
||||
{
|
||||
if (!GetEffect("InSearchLadder", this))
|
||||
if (!GetEffect("IntSearchLadder", this))
|
||||
AddEffect("IntSearchLadder", this, 1, 2, this);
|
||||
FxIntSearchLadderTimer();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue