Skip to content

Commit

Permalink
fix(src): Пофикшено, AdditionalMap снова работает
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 committed Feb 21, 2025
1 parent 9017c4e commit ae854ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ private void OnGetMaps(LoadingMapsEvent args)
private void CreateAndInitializeMap(Maps.GameMapPrototype mapProto)
{
var map = _mapManager.CreateMap();
_mapManager.CreateMap(map);
_gameTicker.LoadGameMap(mapProto, out map, null);
_mapManager.DoMapInitialize(map);
}
Expand Down
14 changes: 7 additions & 7 deletions Resources/Prototypes/ADT/Maps/additionalmap.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Тестовый пример того, как создавать карты с добавляемыми картами.
# Айди - станция-база, в списке она не нужна. В списке - дополнительные карты.

# - type: additionalMap
# id: CorvaxDelta
# maps:
# - ADT_Aspid
# - CorvaxTerra
# - MeteorArena
# - Dev
- type: additionalMap
id: Dev
maps:
- MeteorArena
# - ADT_Aspid
# - CorvaxTerra
# - Dev

0 comments on commit ae854ea

Please sign in to comment.