gemidyne / microtf2

A custom gamemode for Team Fortress 2 - Players compete against each other to get the most points by playing a series of rapid fire microgames in order to win the round!
https://www.gemidyne.com/projects/microtf2
GNU General Public License v2.0
32 stars 17 forks source link

Replace deprecated function from econ data #213

Closed FortyTwoFortyTwo closed 3 years ago

FortyTwoFortyTwo commented 3 years ago

tf_econ_data deprecated TF2Econ_GetItemSlot a year ago, in favour of TF2Econ_GetItemLoadoutSlot. https://github.com/nosoop/SM-TFEconData/commit/b9034c4167b0862d3aef1cbb06efedff5f0a3065

This change will break servers using tf_econ_data 0.17.0 or older, but atleast resolves warning when compiling plugin with newer include.

FortyTwoFortyTwo commented 3 years ago

Build failed because outdated include was used to compile. https://github.com/gemidyne/gh-actions-resources/pull/1

safalin1 commented 3 years ago

Looks good. I'll update my local environment too so I am in sync for dev work. Thanks 👍