mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Merge branch 'main' into entities
This commit is contained in:
commit
1f257d2db2
4 changed files with 22 additions and 9 deletions
|
|
@ -26,7 +26,7 @@ static int l_world_get_list(lua::State* L) {
|
|||
lua::setfield(L, "name");
|
||||
|
||||
auto assets = engine->getAssets();
|
||||
std::string icon = "world:"+name+".icon";
|
||||
std::string icon = "world#"+name+".icon";
|
||||
if (!AssetsLoader::loadExternalTexture(assets, icon, {
|
||||
worlds[i]/fs::path("icon.png"),
|
||||
worlds[i]/fs::path("preview.png")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue