Fix fire to not kill ghosts, again
This commit is contained in:
1 parent
1727df4e38
commit
afe68e1b20
1 file changed
+3
@@ -610,6 +610,9 @@ const TILE_TYPES = {
|
|||||||
level.transmute_tile(other, 'explosion');
|
level.transmute_tile(other, 'explosion');
|
||||||
level.transmute_tile(me, 'water');
|
level.transmute_tile(me, 'water');
|
||||||
}
|
}
|
||||||
|
else if (other.type.name === 'ghost') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
else if (other.type.is_real_player) {
|
else if (other.type.is_real_player) {
|
||||||
level.fail('burned');
|
level.fail('burned');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user