Source2ZE / StripperCS2

A Metamod plugin that allows server operators to manage map lump data similarly to how Stripper:Source worked.
GNU General Public License v3.0
27 stars 3 forks source link

fix: incorrect return value may cause crash #6

Closed Kroytz closed 1 month ago

Kroytz commented 1 month ago

Tested on windows with local build

Poggicek commented 1 month ago

Thanks!

Poggicek commented 1 month ago

Looking at the diassembly, the function can actually fail to load the world and return 0, I'll make sure the code checks that before using the world object.