xensik / gsc-tool

A utility to compile & decompile IW engine game scripts.
GNU General Public License v3.0
230 stars 42 forks source link

fix(gsc): fs_read checks multiple files for includes #165

Closed ineedbots closed 9 months ago

ineedbots commented 9 months ago

Currently, the fs_read isn't that useful, it assumes that the name it receives has an extension, which it doesn't, it only receives the literal token after the #include, This fixes that; it will also check the token_ids if it exists.