mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
initial fix
This commit is contained in:
parent
7dab722561
commit
f02e6c65d8
2 changed files with 32 additions and 22 deletions
|
|
@ -115,7 +115,14 @@ static int l_pack_get_info(
|
|||
throw std::runtime_error("");
|
||||
}
|
||||
|
||||
lua::pushfstring(L, "%s%s@%s%s", prefix.c_str(), dpack.id.c_str(), dpack.op.c_str(), dpack.version.c_str());
|
||||
lua::pushfstring(
|
||||
L,
|
||||
"%s%s@%s%s",
|
||||
prefix.c_str(),
|
||||
dpack.id.c_str(),
|
||||
dpack.op != "=" ? dpack.op.c_str() : "",
|
||||
dpack.version.c_str()
|
||||
);
|
||||
lua::rawseti(L, i + 1);
|
||||
}
|
||||
lua::setfield(L, "dependencies");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue