diff --git a/scripting/include/feedthetrolls/timers.inc b/scripting/include/feedthetrolls/timers.inc index 5787e4f..2979873 100644 --- a/scripting/include/feedthetrolls/timers.inc +++ b/scripting/include/feedthetrolls/timers.inc @@ -62,7 +62,7 @@ public Action Timer_Main(Handle timer) { int primaryWpn = GetPlayerWeaponSlot(i, 0); if(primaryWpn > 0) { int maxCap = GetEntProp(primaryWpn, Prop_Send, "m_iClip1"); - SetEntProp(primaryWpn, Prop_Send, "m_iClip", GetRandomInt(0, maxCap)); + SetEntProp(primaryWpn, Prop_Send, "m_iClip1", GetRandomInt(0, maxCap)); } } } diff --git a/scripting/include/feedthetrolls/trolls.inc b/scripting/include/feedthetrolls/trolls.inc index 9d1d691..f81f6b5 100644 --- a/scripting/include/feedthetrolls/trolls.inc +++ b/scripting/include/feedthetrolls/trolls.inc @@ -294,7 +294,7 @@ bool ApplyAffect(int victim, const Troll troll, int activator, trollModifier mod int primaryWpn = GetPlayerWeaponSlot(victim, 0); if(primaryWpn > 0) { int maxCap = GetEntProp(primaryWpn, Prop_Send, "m_iClip1"); - SetEntProp(primaryWpn, Prop_Send, "m_iClip", GetRandomInt(0, maxCap)); + SetEntProp(primaryWpn, Prop_Send, "m_iClip1", GetRandomInt(0, maxCap)); } } } else if(~modifier & TrollMod_Constant) {