v0.9.4: planting seeds now spends time after planting logic

This commit is contained in:
Evan Debenham 2021-07-21 13:09:27 -04:00
parent 778ad3f28c
commit 10fafbd10a

View File

@ -171,11 +171,11 @@ public abstract class Plant implements Bundlable {
super.execute (hero, action );
if (action.equals( AC_PLANT )) {
hero.spend( TIME_TO_PLANT );
hero.busy();
((Seed)detach( hero.belongings.backpack )).onThrow( hero.pos );
hero.spend( TIME_TO_PLANT );
hero.sprite.operate( hero.pos );
}