Type of Bug: Lua
Description of the Bug: Dispatch CCTV cam break player when exiting view
How to reproduce the Bug: Become dispatchers
Open any CCTV Camera
Attempt to close CCTV Camera
Camera becomes frozen at Camera place. UI disappears, typing in chat says "You are frozen"
Errors: [ERROR] lua/vgui/dframe.lua:246: attempt to perform arithmetic on local 'w' (a nil value)
1. PerformLayout - lua/vgui/dframe.lua:246
2. Init - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/cl_dispatcher.lua:189
3. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:41
4. OnSelected - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_map.lua:211
5. unknown - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_map.lua:501
Upvote
1


