mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-11 19:58:49 -05:00
Ease detection of calling obs_module_text() too early
This commit is contained in:
@@ -9,7 +9,8 @@ namespace advss {
|
||||
const char *obs_module_text(const char *text)
|
||||
{
|
||||
if (!advss::switcher) {
|
||||
return "";
|
||||
assert(false);
|
||||
return "obs_module_text called too early";
|
||||
}
|
||||
return advss::switcher->Translate(text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user