1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-01 00:39:43 +00:00

Remove comment

This commit is contained in:
Zackhasacat 2024-02-03 10:45:24 -06:00
parent 55285b5e57
commit 9daf10c305

View file

@ -174,7 +174,7 @@ namespace MWLua
} }
}); });
globalStoreT[sol::meta_function::pairs] = [](const GlobalStore& store) { globalStoreT[sol::meta_function::pairs] = [](const GlobalStore& store) {
int index = 0; // Start index int index = 0;
return sol::as_function( return sol::as_function(
[index, &store](sol::this_state ts) mutable -> sol::optional<std::tuple<std::string, float>> { [index, &store](sol::this_state ts) mutable -> sol::optional<std::tuple<std::string, float>> {
if (index >= store.getSize()) if (index >= store.getSize())