diff options
Diffstat (limited to 'src/scriptapi.cpp')
-rw-r--r-- | src/scriptapi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index 0227c6a19..8d472e6b8 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -670,6 +670,7 @@ static int l_register_ore(lua_State *L) } ore->ore_name = getstringfield_default(L, index, "ore", ""); + ore->ore_param2 = (u8)getintfield_default(L, index, "ore_param2", 0); ore->wherein_name = getstringfield_default(L, index, "wherein", ""); ore->clust_scarcity = getintfield_default(L, index, "clust_scarcity", 1); ore->clust_num_ores = getintfield_default(L, index, "clust_num_ores", 1); |