We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b18a11f commit 124bcb3Copy full SHA for 124bcb3
src/electron.renderer/data/Project.hx
@@ -229,7 +229,7 @@ class Project {
229
230
public function fixUniqueIdStr(baseId:String, ?styleOverride:ldtk.Json.IdentifierStyle, isUnique:String->Bool) : String {
231
baseId = cleanupIdentifier(baseId, styleOverride==null ? identifierStyle : styleOverride);
232
- if( baseId=="_" )
+ if( baseId=="_" || baseId==null )
233
baseId = "Unnamed";
234
235
if( isUnique(baseId) )
0 commit comments