Fix bug which stopped more than 1 use of ability

This commit is contained in:
Graphica 2017-07-01 05:56:53 -04:00
parent acaf3b2dd9
commit b36c5da721

View File

@ -188,7 +188,10 @@ public class MorphFreedomFighter extends MorphGadget
{
if (_flagCooldowns.containsKey(uuid))
{
Recharge.Instance.usable(player, RECHARGE_KEY, true);
if (Recharge.Instance.usable(player, RECHARGE_KEY, true))
{
_flagCooldowns.remove(uuid);
}
}
else
{