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