mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Remove name + author from map file (#3992)
This commit is contained in:
@@ -48,7 +48,7 @@ public sealed class MapLoaderSystem : EntitySystem
|
||||
private ISawmill _logLoader = default!;
|
||||
|
||||
private static readonly MapLoadOptions DefaultLoadOptions = new();
|
||||
private const int MapFormatVersion = 4;
|
||||
private const int MapFormatVersion = 5;
|
||||
private const int BackwardsVersion = 2;
|
||||
|
||||
private MapSerializationContext _context = default!;
|
||||
@@ -931,9 +931,6 @@ public sealed class MapLoaderSystem : EntitySystem
|
||||
var meta = new MappingDataNode();
|
||||
rootNode.Add("meta", meta);
|
||||
meta.Add("format", MapFormatVersion.ToString(CultureInfo.InvariantCulture));
|
||||
// TODO: Make these values configurable.
|
||||
meta.Add("name", "DemoStation");
|
||||
meta.Add("author", "Space-Wizards");
|
||||
|
||||
var xform = Transform(uid);
|
||||
var isPostInit = _mapManager.IsMapInitialized(xform.MapID);
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
# schema file for Yamale
|
||||
meta:
|
||||
format: int()
|
||||
name: str()
|
||||
author: str()
|
||||
postmapinit: bool()
|
||||
tilemap: map(str(), key=int())
|
||||
entities: list(include('proto'), min=1)
|
||||
|
||||
Reference in New Issue
Block a user