v0.2.4: corrected error with falling items, in accordance with the changes to honeypots
This commit is contained in:
parent
577058d7ed
commit
b8b4ddc7af
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user