1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00

fix startup crash when holding down Alt key

This commit is contained in:
fgenesis 2025-01-06 16:38:11 +01:00
parent fe77a8ea5a
commit c6ba6ea99d

View file

@ -784,7 +784,7 @@ void SceneEditor::init()
placer->alpha = 0; placer->alpha = 0;
curElementId = 0; curElementId = 0;
selectedEntity.clear(); selectedEntity.clear();
nextElement(); cyclePlacer(1);
const ElementTemplate *et = dsq->tilemgr.tileset.getIfExists(0); const ElementTemplate *et = dsq->tilemgr.tileset.getIfExists(0);
if(!et) if(!et)