mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-08-24 11:54:41 -05:00
wiiu: add nil check in SendPresenceUpdate
This commit is contained in:
@@ -39,6 +39,10 @@ func SendPresenceUpdate(presence *friends_wiiu_types.NintendoPresenceV2) {
|
||||
globals.Logger.Critical(err.Error())
|
||||
}
|
||||
|
||||
if friendList == nil {
|
||||
return
|
||||
}
|
||||
|
||||
// * Lazy
|
||||
friends := friendList.Slice()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user