Skip to content

Commit

Permalink
Fix sentries not being re-activated after rage
Browse files Browse the repository at this point in the history
  • Loading branch information
50Wliu committed Mar 31, 2014
1 parent e6e896a commit e39f8cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions addons/sourcemod/scripting/freak_fortress_2.sp
Expand Up @@ -32,7 +32,7 @@ Updated by Wliu, Chris, Lawd, and Carge after Powerlord quit FF2
#tryinclude <rtd>
#define REQUIRE_PLUGIN

#define PLUGIN_VERSION "1.10.0 Beta 1"
#define PLUGIN_VERSION "1.10.0 Beta 2"
#define DEV_VERSION

#define UPDATE_URL "http://198.27.69.149/updater/ff2-official/update.txt"
Expand Down Expand Up @@ -245,8 +245,8 @@ static const String:ff2versiondates[][]=
"March 18, 2014", //1.9.1
"March 22, 2014", //1.9.2
"March 22, 2014", //1.9.2
"March 29, 2014", //1.10.0
"March 29, 2014" //1.10.0
"March 31, 2014", //1.10.0
"March 31, 2014" //1.10.0
};

stock FindVersionData(Handle:panel, versionIndex)
Expand All @@ -265,6 +265,7 @@ stock FindVersionData(Handle:panel, versionIndex)
case 34: //1.10.0
{
DrawPanelText(panel, "6) Fixed ability timers not resetting when the round was over (Wliu)");
DrawPanelText(panel, "7) Fixed sentries not re-activating after being stunned (Wliu)");
DrawPanelText(panel, "7) [Server] Added ammo, clip, and health arguments to rage_cloneattack (Wliu)");
DrawPanelText(panel, "8) [Server] Made !ff2_special display a warning instead of throwing an error when used with rcon (Wliu)");
}
Expand Down Expand Up @@ -3769,7 +3770,7 @@ public Action:Command_Points(client, args)

SetClientQueuePoints(target_list[target], GetClientQueuePoints(target_list[target])+points);
LogAction(client, target_list[target], "\"%L\" added %d queue points to \"%L\"", client, points, target_list[target]);
ReplyToCommand(client, "[FF2] Added %d queue points to %s", points, target_name);
CReplyToCommand(client, "{olive}[FF2]{default} Added %d queue points to %s", points, target_name);
}

return Plugin_Handled;
Expand Down
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/freaks/default_abilities.sp
Expand Up @@ -8,7 +8,7 @@
#include <freak_fortress_2>
#include <freak_fortress_2_subplugin>

#define PLUGIN_VERSION "1.9.2"
#define PLUGIN_VERSION "1.10.0"

public Plugin:myinfo=
{
Expand Down Expand Up @@ -232,7 +232,7 @@ Rage_StunSentry(const String:ability_name[], client)
{
SetEntProp(sentry, Prop_Send, "m_bDisabled", 1);
CreateTimer(duration, RemoveEntity, EntIndexToEntRef(AttachParticle(sentry, "yikes_fx", 75.0)));
CreateTimer(duration, Timer_EnableSentry, EntIndexToEntRef(client));
CreateTimer(duration, Timer_EnableSentry, EntIndexToEntRef(sentry));
}
}
}
Expand Down

0 comments on commit e39f8cc

Please sign in to comment.