File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
common/src/commonMain/kotlin/cz/frantisekmasa/wfrp_master/common/compendium/domain Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11package cz.frantisekmasa.wfrp_master.common.compendium.domain
22
33import com.benasher44.uuid.Uuid
4+ import com.benasher44.uuid.uuid4
45import cz.frantisekmasa.wfrp_master.common.core.domain.Characteristic
56import cz.frantisekmasa.wfrp_master.common.core.domain.SocialClass
67import cz.frantisekmasa.wfrp_master.common.core.domain.character.Race
@@ -49,7 +50,7 @@ data class Career(
4950 )
5051 }
5152
52- override fun duplicate (): Career = copy(name = duplicateName())
53+ override fun duplicate (): Career = copy(id = uuid4(), name = duplicateName())
5354
5455 override fun changeVisibility (isVisibleToPlayers : Boolean ) =
5556 copy(isVisibleToPlayers = isVisibleToPlayers)
You can’t perform that action at this time.
0 commit comments