2
0
mirror of https://github.com/rehlds/reapi.git synced 2025-01-16 00:28:17 +03:00

rg_round_end fix return type (#194)

This commit is contained in:
Juice 2021-06-12 17:38:28 +03:00 committed by GitHub
parent 6d3d77a434
commit e4e42109af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);