We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent babd9f5 commit 1bd92fdCopy full SHA for 1bd92fd
src/main/kotlin/network/warzone/mars/map/MapFeature.kt
@@ -102,6 +102,7 @@ object MapFeature : NamedCachedFeature<GameMap>() {
102
return MapLoadOneRequest(
103
_id = id ?: UUID.randomUUID(),
104
name = map.name,
105
+ slug = map.id,
106
version = map.version.toString(),
107
gamemodes = map.gamemodes.map { it.name },
108
authors = map.authors.mapNotNull { resolveContributor(it) },
@@ -127,6 +128,7 @@ object MapFeature : NamedCachedFeature<GameMap>() {
127
128
data class MapLoadOneRequest(
129
val _id: UUID,
130
val name: String,
131
+ val slug: String,
132
val version: String,
133
val gamemodes: List<String>,
134
val authors: List<MapContributor>,
0 commit comments