Skip to content

Commit f81f8f3

Browse files
authored
Make immutable
1 parent c78c3b9 commit f81f8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/2D_JRPG/JRPG.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ final class RoomTriggerComponent: Component {
9292
self.actions.append(action)
9393
}
9494

95-
static var componentID: ComponentID = ComponentID()
95+
static let componentID: ComponentID = ComponentID()
9696
}
9797

9898
// A component to store interactions.
@@ -110,7 +110,7 @@ final class RoomInteractionComponent: Component {
110110
self.actions.append(action)
111111
}
112112

113-
static var componentID: ComponentID = ComponentID()
113+
static let componentID: ComponentID = ComponentID()
114114
}
115115

116116
// A system to handle trnasitions between rooms

0 commit comments

Comments
 (0)