v0.3.5: fixed bombs not working

This commit is contained in:
Evan Debenham 2016-04-21 19:14:06 -04:00
parent e7f45d7c40
commit bf04f7d8d1

View File

@ -73,13 +73,14 @@ public class Bomb extends Item {
@Override
public void execute(Hero hero, String action) {
super.execute(hero, action);
if (action.equals(AC_LIGHTTHROW)) {
lightingFuse = true;
action = AC_THROW;
} else
lightingFuse = false;
super.execute(hero, action);
}
@Override