Weol/wuma

Data save issue

Closed this issue · 9 comments

St11l commented

Hello.
If set limits and rejoin, then open list of usergroup limits and click on another usergroup- the list becomes empty. Lua error appears if press the RMB

https://i.imgur.com/uJ2LocU.gifv

Weol commented

Hi, can you open your console and copy the error that appears when you do this? Also, when you rejoin after this happens, does the limit appear again?

St11l commented

[ERROR] addons/ulx_wuma/lua/wuma/client/vgui/vgui_limits.lua:152: attempt to index local 'item' (a nil value)

  1. RightClickFunction - addons/ulx_wuma/lua/wuma/client/vgui/vgui_limits.lua:152
  2. OnRowRightClick - addons/ulx_wuma/lua/wuma/client/vgui/vgui_dataview.lua:104
    3. unknown - lua/vgui/dlistview_line.lua:74
St11l commented

After rejoin it repeats. All limits works, but in menu appears error

Weol commented

Okay, then this is a client-side issue. I will fix this, thank you for letting me know

Weol commented

I have pushed a fix for this: fd1e291

Weol commented

Would be nice if you could confirm that this is no longer an issue

St11l commented

Thank u, error solved. But one more problem remained

If set limits and rejoin, then open list of usergroup limits and click on another usergroup - the list becomes empty

Weol commented

Do the limits appear again if you click back to the previously selected usergroup?

St11l commented

No. Limits work fine, but this error only in menu