v0.9.4: planting seeds now spends time after planting logic
This commit is contained in:
parent
778ad3f28c
commit
10fafbd10a
|
@ -171,11 +171,11 @@ public abstract class Plant implements Bundlable {
|
||||||
super.execute (hero, action );
|
super.execute (hero, action );
|
||||||
|
|
||||||
if (action.equals( AC_PLANT )) {
|
if (action.equals( AC_PLANT )) {
|
||||||
|
|
||||||
hero.spend( TIME_TO_PLANT );
|
|
||||||
hero.busy();
|
hero.busy();
|
||||||
((Seed)detach( hero.belongings.backpack )).onThrow( hero.pos );
|
((Seed)detach( hero.belongings.backpack )).onThrow( hero.pos );
|
||||||
|
hero.spend( TIME_TO_PLANT );
|
||||||
|
|
||||||
hero.sprite.operate( hero.pos );
|
hero.sprite.operate( hero.pos );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user