update ContentUnitIndices

This commit is contained in:
MihailRis 2025-12-15 22:05:27 +03:00
parent 55e4e6de02
commit c3c343ffdb
9 changed files with 38 additions and 26 deletions

View file

@ -253,9 +253,9 @@ void scripting::process_post_runnables() {
}
}
template <class T>
template <class T, typename IdType>
static int push_properties_tables(
lua::State* L, const ContentUnitIndices<T>& indices
lua::State* L, const ContentUnitIndices<T, IdType>& indices
) {
const auto units = indices.getDefs();
size_t size = indices.count();