mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-26 12:01:43 +00:00
fixed custom object fields
This commit is contained in:
parent
811e60f7cf
commit
ff09a2d724
1 changed files with 1 additions and 0 deletions
|
|
@ -315,6 +315,7 @@ struct LuaObjectField* smlua_get_custom_field(lua_State* L, u32 lot, int keyInde
|
|||
lof.lot = LOT_NONE;
|
||||
lof.valueOffset = offsetof(struct Object, rawData.asU32[fieldIndex]);
|
||||
lof.valueType = lvt;
|
||||
lof.count = 1;
|
||||
|
||||
lua_pop(L, 1); // pop value table
|
||||
lua_pop(L, 1); // pop _custom_fields
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue