mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix
This commit is contained in:
parent
1a04e31919
commit
bc229a39a1
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ static int l_set_content_sources(lua::State* L) {
|
|||
std::vector<io::path> sources;
|
||||
for (int i = 0; i < len; i++) {
|
||||
lua::rawgeti(L, i + 1);
|
||||
sources.emplace_back(lua::require_lstring(L, -1));
|
||||
sources.emplace_back(std::string(lua::require_lstring(L, -1)));
|
||||
lua::pop(L);
|
||||
}
|
||||
engine->getContentControl().setContentSources(std::move(sources));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue