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
Next Next commit
Add src/script/lua_api/l_storage.cpp comment
Co-authored-by: sfan5 <[email protected]>
  • Loading branch information
TurkeyMcMac and sfan5 committed Jul 22, 2022
commit 3a773fbb4ca2b9c706713506ea078ca93cd61ac0
1 change: 1 addition & 0 deletions src/script/lua_api/l_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +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
TurkeyMcMac marked this conversation as resolved.
Show resolved Hide resolved
std::string mod_name = readParam<std::string>(L, 1);
TurkeyMcMac marked this conversation as resolved.
Show resolved Hide resolved

ModMetadata *store = nullptr;
Expand Down