Skip to content

Commit 4a03450

Browse files
Fix compilation on Xcode 16.4
1 parent d75f980 commit 4a03450

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/MCMap/Library/CartographyDrawing.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77

88
import Foundation
9-
import PencilKit
9+
@preconcurrency import PencilKit
1010
import VersionedCodable
1111

1212
/// A representation of a player drawing that appears on a map.
@@ -62,7 +62,7 @@ public struct CartographyDrawing: SendableCoded, Identifiable {
6262
/// The drawing overlay contents to send to a corresponding map.
6363
public var data: DrawingOverlay
6464

65-
public init(id: UUID, data: DrawingOverlay) {
65+
public init(id: UUID = UUID(), data: DrawingOverlay) {
6666
self.id = id
6767
self.data = data
6868
}

0 commit comments

Comments
 (0)