Collapse all terrain

This commit is contained in:
zenoamaro committed 2019-06-29 19:59:29 +02:00
1 parent 1bf0406bec
commit 47c1c8dad6
2 files changed
+7 -12

No files matched your search

+1 -4
View File
@@ -173,10 +173,7 @@ function update() {
}
else if (state === 'land-collapse') {
const target = explosion ||projectile;
if (target) {
collapseTerrain(terrain, target.x, 100); // FIXME: Hardcoded radius
}
collapseTerrain(terrain);
state = 'land-players';
}