v2.0.0: adjusted action tag to fall down if its the only tag left

This commit is contained in:
Evan Debenham
2023-01-03 17:46:43 -05:00
parent 37cb42328c
commit 3d33ff2180

View File

@@ -761,6 +761,12 @@ public class GameScene extends PixelScene {
tagAction = action.visible;
tagResume = resume.visible;
//except if action is the only tag left, then let it drop to the bottom
// this is because the action tag can sometimes be persistent
if (tagAction && !tagAttack && !tagLoot && !tagResume){
tagAppearing = true;
}
if (tagAppearing) layoutTags();
}