mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-23 10:39:46 -05:00
Ease detection of calling obs_module_text() too early
This commit is contained in:
parent
d136bf5561
commit
54f1051456
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user