diff options
| author | Selene ToyKeeper | 2017-08-27 22:22:56 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2017-08-27 22:22:56 -0600 |
| commit | f48209ee791282f72353a0806c8dab7fb814a4cb (patch) | |
| tree | 495d2d4618ff33e822beb981f7389f4eecabfbd1 /spaghetti-monster/anduril.c | |
| parent | Remembered to put the thermal ceiling back at a sane value. (diff) | |
| download | anduril-f48209ee791282f72353a0806c8dab7fb814a4cb.tar.gz anduril-f48209ee791282f72353a0806c8dab7fb814a4cb.tar.bz2 anduril-f48209ee791282f72353a0806c8dab7fb814a4cb.zip | |
Fixed bug: double-click from off didn't *really* go to the top of the ramp.
Diffstat (limited to 'spaghetti-monster/anduril.c')
| -rw-r--r-- | spaghetti-monster/anduril.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril.c b/spaghetti-monster/anduril.c index 6d25afa..eba21d1 100644 --- a/spaghetti-monster/anduril.c +++ b/spaghetti-monster/anduril.c @@ -116,7 +116,7 @@ uint8_t off_state(EventPtr event, uint16_t arg) { } // 2 clicks: highest mode else if (event == EV_2clicks) { - set_level(nearest_level(MAX_LEVEL)); + set_state(steady_state, nearest_level(MAX_LEVEL)); return MISCHIEF_MANAGED; } #ifdef USE_BATTCHECK |
