aboutsummaryrefslogtreecommitdiff
path: root/src/nosleep.c
diff options
context:
space:
mode:
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 {