fix typo in ladder library that adds an infinite amount of effects to the clonk over time

install-platforms
Maikel de Vries 2018-01-30 21:28:30 +01:00
parent 8889a68127
commit 041597971f
1 changed files with 2 additions and 1 deletions

View File

@ -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;