summaryrefslogtreecommitdiff
path: root/src/nosleep.c
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-06-01 20:29:46 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-06-01 20:29:46 +0100
commita5372622f33f44ac83f28bc09ff8b79cb2676ef5 (patch)
treeff323f8e701db296ab537d1dbd0542d1a1986d47 /src/nosleep.c
parent0f6864be9339835b7187077a6b960dbf9f055535 (diff)
downloadsst-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.c4
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 {