Skip to content

Commit

Permalink
Update actors_main.cpp (#762)
Browse files Browse the repository at this point in the history
Process damage actor RPC even if damage value is 0.0, for samp compat

#761
  • Loading branch information
ReshiramZekrom1 authored Nov 9, 2023
1 parent 2037a95 commit 3eb568c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Components/Actors/actors_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ActorsComponent final : public IActorsComponent, public PlayerConnectEvent
return false;
}

if (onPlayerDamageActorRPC.Damage <= 0.0f)
if (onPlayerDamageActorRPC.Damage < 0.0f)
{
return false;
}
Expand Down

0 comments on commit 3eb568c

Please sign in to comment.