diff options
author | 2025-06-01 20:29:46 +0100 | |
---|---|---|
committer | 2025-06-01 20:29:46 +0100 | |
commit | a5372622f33f44ac83f28bc09ff8b79cb2676ef5 (patch) | |
tree | ff323f8e701db296ab537d1dbd0542d1a1986d47 /src/nosleep.c | |
parent | 0f6864be9339835b7187077a6b960dbf9f055535 (diff) | |
download | sst-a5372622f33f44ac83f28bc09ff8b79cb2676ef5.tar.gz sst-a5372622f33f44ac83f28bc09ff8b79cb2676ef5.zip |
Fix bad returns missed in the feature init rewrite
Diffstat (limited to 'src/nosleep.c')
-rw-r--r-- | src/nosleep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nosleep.c b/src/nosleep.c index a622044..b440bf3 100644 --- a/src/nosleep.c +++ b/src/nosleep.c @@ -42,9 +42,9 @@ static void VCALLCONV hook_SleepUntilInput(void *this, int timeout) { } PREINIT { - if (con_findvar("engine_no_focus_sleep")) return false; + if (con_findvar("engine_no_focus_sleep")) return FEAT_SKIP; con_regvar(engine_no_focus_sleep); - return true; + return FEAT_OK; } INIT { |