Fix x-ray glasses breaking the renderer
This commit is contained in:
1 parent
fda1c6c66e
commit
31a1049655
1 file changed
+1
-1
@@ -180,7 +180,7 @@ export class CanvasRenderer {
|
||||
// potential interest underneath
|
||||
let perception = this.perception;
|
||||
if (perception !== 'normal' &&
|
||||
! cell.some(t => t && t.type.layer < layer && ! (
|
||||
! cell.some(t => t && t.type.layer < LAYERS.actor && ! (
|
||||
t.type.name === 'floor' && (t.wire_directions | t.wire_tunnel_directions) === 0)))
|
||||
{
|
||||
perception = 'normal';
|
||||
|
||||
Reference in new issue
Block a user