MattJeanes / PewPew

Divran's old GCombat remake now up to date for Garry's Mod 13.
7 stars 9 forks source link

Revert "Fix the lua includes" #46

Closed MattJeanes closed 5 years ago

MattJeanes commented 5 years ago

Reverts MattJeanes/PewPew#45

Turns out this actually just broke all weapons, whoops...

brandonsturgeon commented 5 years ago

Yikes, sorry about that. I must've only tested that the error disappeared without checking that everything still worked.. Doh'

Does a trailing asterisk load recursively through sub directories? If so, there may be a way to still only grab lua files to avoid a startup err. Maybe something like /**/*.lua

MattJeanes commented 5 years ago

I haven't tested any alternatives but with the original change essentially no weapons showed up in the dropdowns - and that's ok, I should have tested it myself before pushing it to workshop!