Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let core.get_mod_storage be called multiple times #12572

Merged
merged 5 commits into from
Jul 23, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix filename in comment
  • Loading branch information
TurkeyMcMac committed Jul 22, 2022
commit f95471cca92449cdf509f75ba09a3189bbc193e2
2 changes: 1 addition & 1 deletion src/script/lua_api/l_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,

int ModApiStorage::l_get_mod_storage(lua_State *L)
{
// Note that this is wrapped in Lua, see builtin/[...].lua
// Note that this is wrapped in Lua, see builtin/common/mod_storage.lua
std::string mod_name = readParam<std::string>(L, 1);
TurkeyMcMac marked this conversation as resolved.
Show resolved Hide resolved

ModMetadata *store = nullptr;
Expand Down