TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
179 stars 78 forks source link

equipment editor ignores inheritance #1501

Open wgetJane opened 8 months ago

wgetJane commented 8 months ago

Your version of TTT2 (mandatory)

latest workshop version

Describe the bug (mandatory)

the equipment editor will force placeholder values on inherited fields

for example, a weapon that's based on a class with the field Kind set to 2 will be forced to have its Kind set to the placeholder value of 3 anyway if it inherits the Kind field from its base class

TimGoll commented 3 months ago

I investigated this issue for two hours now, but I'm unable to fix it for now. Just some notes for the future: