Vuthakral / Draconic_Base

An easy to use framework for content development within Garry's Mod.
Other
21 stars 1 forks source link

Clientside error because a table is not a string. #24

Closed NovaAstral closed 11 months ago

NovaAstral commented 1 year ago

On line 132 of lua/draconic/cl/library.lua, you are passing a table to a function that only takes a string, which is causing a lua error.

Said function is ent:SetBodyGroups(bgs) where bgs = tbl.bodygroups

Vuthakral commented 11 months ago

This was caused because of an internal change to gLua where certain functions used to automatically convert certain types to their needed string. For some reason this is no longer the case, and has been fixed in the latest update.