wiiu: add nil check in SendPresenceUpdate

This commit is contained in:
Jonathan Barrow 2024-04-09 14:30:47 -04:00
parent af603f2295
commit e2a630d1a7
No known key found for this signature in database
GPG Key ID: E86E9FE9049C741F

View File

@ -39,6 +39,10 @@ func SendPresenceUpdate(presence *friends_wiiu_types.NintendoPresenceV2) {
globals.Logger.Critical(err.Error())
}
if friendList == nil {
return
}
// * Lazy
friends := friendList.Slice()