Skip to content
Snippets Groups Projects
Commit d0cd1d95 authored by toaster's avatar toaster
Browse files

Add prefoppositecolor to Lua.

parent 4435815c
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@ enum skin {
skin_shieldscale,
skin_starttranscolor,
skin_prefcolor,
skin_prefoppositecolor,
skin_highresscale,
skin_soundsid,
skin_availability
......@@ -85,6 +86,7 @@ static const char *const skin_opt[] = {
"shieldscale",
"starttranscolor",
"prefcolor",
"prefoppositecolor",
"highresscale",
"soundsid",
"availability",
......@@ -201,6 +203,9 @@ static int skin_get(lua_State *L)
case skin_prefcolor:
lua_pushinteger(L, skin->prefcolor);
break;
case skin_prefoppositecolor:
lua_pushinteger(L, skin->prefoppositecolor);
break;
case skin_highresscale:
lua_pushinteger(L, skin->highresscale);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment