From c98b2f9bcf1b5ce99eded670d4a5c07f09fbc94d Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Fri, 5 Nov 2021 04:09:01 +0700 Subject: [PATCH] Fix missing return value in `EnableMe()` method --- sources/Features/Feature.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/Features/Feature.uc b/sources/Features/Feature.uc index 933b40c..9c4656d 100644 --- a/sources/Features/Feature.uc +++ b/sources/Features/Feature.uc @@ -246,7 +246,7 @@ public static final function Feature EnableMe(Text configName) { local Feature myInstance; if (configName == none) { - return; + return none; } myInstance = GetInstance(); if (myInstance != none)