mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 14:09:06 +00:00
Close singing interface + abort any song when avatar_setBlockSinging(true) is called
This commit is contained in:
parent
ffd425892f
commit
212a680541
1 changed files with 5 additions and 0 deletions
|
@ -3320,6 +3320,11 @@ void Avatar::startCharge(int ability)
|
||||||
void Avatar::setBlockSinging(bool v)
|
void Avatar::setBlockSinging(bool v)
|
||||||
{
|
{
|
||||||
blockSinging = v;
|
blockSinging = v;
|
||||||
|
if (v)
|
||||||
|
{
|
||||||
|
currentSong.notes.clear(); // abort singing without triggering a song, if queued
|
||||||
|
closeSingingInterface();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Avatar::canSetBoneLock()
|
bool Avatar::canSetBoneLock()
|
||||||
|
|
Loading…
Reference in a new issue