(339649ad9) Fix the sprite of a newly created level object not being visible or editable until the next time the object is loaded.
This commit is contained in:
@@ -675,6 +675,8 @@ namespace Barotrauma
|
||||
doc.WriteTo(writer);
|
||||
writer.Flush();
|
||||
}
|
||||
// Recreate the prefab so that the sprite loads correctly: TODO: consider a better way to do this
|
||||
newPrefab = new LevelObjectPrefab(newElement);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user