feat(glue): implement Script_GetSelectedRace

This commit is contained in:
fallenoak 2025-12-29 20:16:08 -06:00
parent 897d4cce1d
commit dc2e3744ce
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -66,7 +66,9 @@ int32_t Script_GetFacialHairCustomization(lua_State* L) {
}
int32_t Script_GetSelectedRace(lua_State* L) {
WHOA_UNIMPLEMENTED(0);
lua_pushnumber(L, CCharacterCreation::s_raceIndex + 1);
return 1;
}
int32_t Script_GetSelectedSex(lua_State* L) {