Fix dynamite leaving fire under actors beneath canopies (fixes #27)
This commit is contained in:
parent
6a2d6d608d
commit
32a5bc31bb
@ -2346,6 +2346,8 @@ const TILE_TYPES = {
|
|||||||
|
|
||||||
if (tile.type.name === 'canopy') {
|
if (tile.type.name === 'canopy') {
|
||||||
// Canopy protects everything else
|
// Canopy protects everything else
|
||||||
|
actor = null;
|
||||||
|
terrain = null;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user