sousou63 / DarkRP

S&Box roleplay gamemode
MIT License
22 stars 22 forks source link

Scoreboard showing "Unknown Player" #162

Open Mangrogred opened 3 months ago

Mangrogred commented 3 months ago

I was just playing dark rp and when everyone left the q menu was broken изображение

QueenPM commented 2 months ago
System.NullReferenceException: Object reference not set to an instance of an object.
   at LeaderBoard.GetJobNameForUser(PlayerConnObject p) in UI/LeaderBoard.razor:line 39
   at LeaderBoard.BuildRenderTree(RenderTreeBuilder __builder) in UI/LeaderBoard.razor:line 22
   at Sandbox.<PanelComponent>FA1C5275512F4A92FD662E1A2B690E382292D174E8B798CBA2E5730251CFA55D7__CustomBuildPanel.BuildRenderTree(RenderTreeBuilder v) in C:\build\_work\sbox\sbox\engine\Sandbox.Game\Scene\Components\UI\PanelComponent.cs:line 195
   at Sandbox.UI.Panel.InternalRenderTree() in C:\build\_work\sbox\sbox\engine\Sandbox.Game\UI2\Panel\Panel.Razor.cs:line 95
ghost commented 2 months ago

Probably fixed in #177

SebbeJohansson commented 2 months ago

@dimmerly Cant verify that.