From e4e42109af81c051f8bab104e7d152352af1a2c7 Mon Sep 17 00:00:00 2001 From: Juice Date: Sat, 12 Jun 2021 17:38:28 +0300 Subject: [PATCH] rg_round_end fix return type (#194) --- reapi/src/natives/natives_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reapi/src/natives/natives_misc.cpp b/reapi/src/natives/natives_misc.cpp index a1a6abe9..bba93ac0 100644 --- a/reapi/src/natives/natives_misc.cpp +++ b/reapi/src/natives/natives_misc.cpp @@ -453,7 +453,7 @@ cell AMX_NATIVE_CALL rg_round_end(AMX *amx, cell *params) float tmDelay = CAmxArg(amx, params[arg_delay]); if (params[arg_trigger] != 0) { - return callForward(RG_RoundEnd, + return callForward(RG_RoundEnd, [&message](int _winStatus, ScenarioEventEndRound _event, float _tmDelay) { CSGameRules()->EndRoundMessage(message, _event);