Skip to content

Commit

Permalink
Capitalize function name
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdnk committed Aug 20, 2022
1 parent 781dca1 commit 43a7db7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripting/get5/goinglive.sp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Action MatchLive(Handle timer) {
ExecuteMatchConfigCvars();
g_PendingSideSwap = false;

announcePhaseChange("%t", "MatchIsLiveInfoMessage");
AnnouncePhaseChange("%t", "MatchIsLiveInfoMessage");

if (!g_PrintUpdateNoticeCvar.BoolValue) {
return Plugin_Handled;
Expand Down
2 changes: 1 addition & 1 deletion scripting/get5/kniferounds.sp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public Action StartKnifeRound(Handle timer) {

public Action Timer_AnnounceKnife(Handle timer) {
g_KnifeCountdownTimer = INVALID_HANDLE;
announcePhaseChange("{GREEN}%t", "KnifeInfoMessage");
AnnouncePhaseChange("{GREEN}%t", "KnifeInfoMessage");

Get5KnifeRoundStartedEvent knifeEvent = new Get5KnifeRoundStartedEvent(g_MatchID, g_MapNumber);

Expand Down
2 changes: 1 addition & 1 deletion scripting/get5/util.sp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ stock void ReplaceStringWithInt(char[] buffer, int len, const char[] replace, in
ReplaceString(buffer, len, replace, intString, caseSensitive);
}

stock void announcePhaseChange(const char[] format, const char[] message) {
stock void AnnouncePhaseChange(const char[] format, const char[] message) {
int count = g_PhaseAnnouncementCountCvar.IntValue;
if (count > 10) {
count = 10;
Expand Down

0 comments on commit 43a7db7

Please sign in to comment.