Skip to content

Commit

Permalink
ficxa crash
Browse files Browse the repository at this point in the history
  • Loading branch information
GuglioIsStupid committed Jun 6, 2024
1 parent 3bb8958 commit aaf4d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/states/game/Gameplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ function Gameplay:generateBeatmap(chartType, songPath, folderPath, diffName, for

if discordRPC then
local details = ""
if networking.inMultiplayerGame then
if networking and networking.inMultiplayerGame then
details = "In a multiplayer game - " .. networking.currentServerData.name .. " (" .. #networking.currentServerData.players .. "/" .. networking.currentServerData.maxPlayers .. ")"
else
details = "Playing a song"
Expand Down

0 comments on commit aaf4d2a

Please sign in to comment.