Updated the Amiibo.Platform type in the library target to initialize Switch 2 games from a given payload.
This commit is contained in:
@@ -61,6 +61,7 @@ public struct Amiibo: Sendable {
|
||||
self.name = payload.name
|
||||
self.platform = .init(
|
||||
payload.gamesSwitch,
|
||||
payload.gamesSwitch2,
|
||||
payload.games3DS,
|
||||
payload.gamesWiiU
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user