diff options
| author | Apickx <Apickx@cogarr.org> | 2015-12-28 19:18:30 -0500 |
|---|---|---|
| committer | Apickx <Apickx@cogarr.org> | 2015-12-28 19:18:30 -0500 |
| commit | 868e729d68b5913716bfe5ddb512f4099851e9a2 (patch) | |
| tree | 6441108754145dfd68a6e23bea382b5cb1ab63d5 /gamemode/sv_various/resource.lua | |
| download | gearfox-master.tar.gz gearfox-master.tar.bz2 gearfox-master.zip | |
Diffstat (limited to 'gamemode/sv_various/resource.lua')
| -rw-r--r-- | gamemode/sv_various/resource.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gamemode/sv_various/resource.lua b/gamemode/sv_various/resource.lua new file mode 100644 index 0000000..6a32632 --- /dev/null +++ b/gamemode/sv_various/resource.lua @@ -0,0 +1,6 @@ + +function resource.AddDir(DIR) + local GAMEFIL,GAMEDIR = file.Find(DIR.."/*","GAME") + for k,v in pairs( GAMEDIR ) do resource.AddDir(DIR.."/"..v) end + for k,v in pairs( GAMEFIL ) do resource.AddFile(DIR.."/"..v) end +end |
