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:
parent
6d3d77a434
commit
e4e42109af
@ -453,7 +453,7 @@ cell AMX_NATIVE_CALL rg_round_end(AMX *amx, cell *params)
|
|||||||
float tmDelay = CAmxArg(amx, params[arg_delay]);
|
float tmDelay = CAmxArg(amx, params[arg_delay]);
|
||||||
if (params[arg_trigger] != 0)
|
if (params[arg_trigger] != 0)
|
||||||
{
|
{
|
||||||
return callForward<BOOL>(RG_RoundEnd,
|
return callForward<bool>(RG_RoundEnd,
|
||||||
[&message](int _winStatus, ScenarioEventEndRound _event, float _tmDelay)
|
[&message](int _winStatus, ScenarioEventEndRound _event, float _tmDelay)
|
||||||
{
|
{
|
||||||
CSGameRules()->EndRoundMessage(message, _event);
|
CSGameRules()->EndRoundMessage(message, _event);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user