diff options
author | Aki <please@ignore.pl> | 2021-05-11 23:53:21 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-05-11 23:53:21 +0200 |
commit | 91627dbb7f37dc58ec1703d1fb013188977fab8e (patch) | |
tree | 75431b71f66588013ba8288aa0aa5a80e8e11e9f | |
parent | 5f6d51abbf731e4d5d9b9f5e8633c137325681aa (diff) | |
download | derelict-prototype-91627dbb7f37dc58ec1703d1fb013188977fab8e.zip derelict-prototype-91627dbb7f37dc58ec1703d1fb013188977fab8e.tar.gz derelict-prototype-91627dbb7f37dc58ec1703d1fb013188977fab8e.tar.bz2 |
Disabled controls for hidden grids
-rw-r--r-- | derelict.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/derelict.js b/derelict.js index 155df23..6864564 100644 --- a/derelict.js +++ b/derelict.js @@ -57,10 +57,12 @@ class SkirmishGrid { enable() { this.active = true + this.controls.enabled = true } disable() { this.active = false + this.controls.enabled = false } } |