From af9245bbb96558547ff6ec46c6a177fbcb1619d3 Mon Sep 17 00:00:00 2001 From: Nairdaa <38843773+Nairdaa@users.noreply.github.com> Date: Tue, 23 Jul 2019 01:25:27 +0200 Subject: [PATCH] im a moron reversed changes for now --- scripting/shavit-credits.sp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripting/shavit-credits.sp b/scripting/shavit-credits.sp index 2af4428..5ee6274 100644 --- a/scripting/shavit-credits.sp +++ b/scripting/shavit-credits.sp @@ -48,7 +48,6 @@ char g_cMap[160]; int g_iTier; int g_iStyle; float g_fPB; -float fRankingMultiplier; public void OnPluginStart() { @@ -156,7 +155,7 @@ public void Shavit_OnFinish(int client, int style, float time, int jumps, int st if (g_iT1Enabled == 1 || g_iTier != 1) { if(track == 0) { - int iCredits = (g_iNormalAmount * g_iTier) * fRankingMultiplier; + int iCredits = g_iNormalAmount * g_iTier; Store_SetClientCredits(client, Store_GetClientCredits(client) + iCredits); Shavit_PrintToChat(client, "%T", "NormalFinish", gS_ChatStrings.sVariable, iCredits, gS_ChatStrings.sText); @@ -175,7 +174,7 @@ public void Shavit_OnFinish(int client, int style, float time, int jumps, int st if (g_iPBEnabled == 1) { if (time <= g_fPB) { if(track == 0) { - int iCredits = (g_iPBAmount * g_iTier) * fRankingMultiplier; + int iCredits = g_iPBAmount * g_iTier; Store_SetClientCredits(client, Store_GetClientCredits(client) + iCredits); Shavit_PrintToChat(client, "%T", "PersonalBest", gS_ChatStrings.sVariable, iCredits, gS_ChatStrings.sText); @@ -203,7 +202,7 @@ public void Shavit_OnWorldRecord(int client, int style, float time, int jumps, i if (g_iWREnabled == 1) { if(track == 0) { - int iCredits = (g_iWrAmount * g_iTier) * fRankingMultiplier; + int iCredits = g_iWrAmount * g_iTier; Store_SetClientCredits(client, Store_GetClientCredits(client) + iCredits); Shavit_PrintToChat(client, "%T", "WorldRecord", gS_ChatStrings.sVariable, iCredits, gS_ChatStrings.sText); -- 2.39.5