v0.2.4: corrected error with falling items, in accordance with the changes to honeypots
This commit is contained in:
@@ -319,7 +319,7 @@ public class GameScene extends PixelScene {
|
||||
} else if (item instanceof Plant.Seed) {
|
||||
Dungeon.level.plant( (Plant.Seed)item, pos );
|
||||
} else if (item instanceof Honeypot) {
|
||||
(Honeypot)item.shatter( pos );
|
||||
Dungeon.level.drop(((Honeypot) item).shatter(null, pos), pos);
|
||||
} else {
|
||||
Dungeon.level.drop( item, pos );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user