Skip to content

Commit

Permalink
rg_round_end fix return type (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
etojuice committed Jun 12, 2021
1 parent 6d3d77a commit e4e4210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reapi/src/natives/natives_misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<BOOL>(RG_RoundEnd,
return callForward<bool>(RG_RoundEnd,
[&message](int _winStatus, ScenarioEventEndRound _event, float _tmDelay)
{
CSGameRules()->EndRoundMessage(message, _event);
Expand Down

0 comments on commit e4e4210

Please sign in to comment.