summaryrefslogtreecommitdiffstats
path: root/player/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/lua.c')
-rw-r--r--player/lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/lua.c b/player/lua.c
index 826de209ed..9e5e2c96a5 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -750,9 +750,9 @@ static int script_input_define_section(lua_State *L)
char *contents = (char *)luaL_checkstring(L, 2);
char *flags = (char *)luaL_optstring(L, 3, "");
bool builtin = true;
- if (strcmp(flags, "builtin") == 0) {
+ if (strcmp(flags, "default") == 0) {
builtin = true;
- } else if (strcmp(flags, "default") == 0) {
+ } else if (strcmp(flags, "force") == 0) {
builtin = false;
} else if (strcmp(flags, "") == 0) {
//pass