mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-21 23:53:08 +01:00
Fix issue where every button press causes a rerender
This commit is contained in:
parent
cf4731682e
commit
f4c002cadd
@ -225,7 +225,7 @@ class Mapscii {
|
||||
draw = false;
|
||||
}
|
||||
|
||||
if (draw !== null) {
|
||||
if (draw) {
|
||||
this._draw();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user