Skip to content

Commit

Permalink
Update AntButton.as
Browse files Browse the repository at this point in the history
Исправлено - звук наведения воспроизводился постоянно, а не один раз при наступлении события
  • Loading branch information
creativcheck committed May 8, 2014
1 parent 09be437 commit fd0ffa1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ru/antkarlov/anthill/AntButton.as
Expand Up @@ -608,6 +608,7 @@ package ru.antkarlov.anthill
if (o != _over)
{
eventOver.dispatch(this);
AntG.sounds.play(soundOver);
}

if (!_down)
Expand All @@ -622,8 +623,6 @@ package ru.antkarlov.anthill
_iChangeCursor = true;
}
}

AntG.sounds.play(soundOver);
}

/**
Expand Down Expand Up @@ -960,4 +959,4 @@ package ru.antkarlov.anthill

}

}
}

0 comments on commit fd0ffa1

Please sign in to comment.