Batfoxkid / Freak-Fortress-2-Rewrite

The gamemode that's now also a standalone boss maker.
https://forums.alliedmods.net/forumdisplay.php?f=154
GNU General Public License v3.0
17 stars 8 forks source link

ff2r_menu_abilities: Fix 'weapon' key not working #85

Closed naydef closed 1 year ago

naydef commented 1 year ago

Previously only value of 0 for weapon keyvalue made the menu appear. ability.GetInt("weapon", var1) calls ConfigData.GetInt which directly returns the value of the keyvalue, not returning it in the var1 variable, which is used in ConfigMap.GetInt

From downstream Nec fork.