Skip to content

Commit

Permalink
Update mm_attribute_remote_control_rockets.sp
Browse files Browse the repository at this point in the history
  • Loading branch information
higps committed Jan 28, 2024
1 parent cd07c32 commit 76c1dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm_attribute_remote_control_rockets.sp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void OnEntityDestroyed(int entity)
public void OnRocketSpawned(int rocket)
{
int owner = GetEntPropEnt(rocket, Prop_Send, "m_hOwnerEntity");
if (HasStat(owner) && PlayerControlRockets[owner] && !ControllingRocket[client])
if (HasStat(owner) && PlayerControlRockets[owner] && !ControllingRocket[owner])
{
RocketID[owner] = rocket;
RocketOverride[rocket] = true;
Expand Down

0 comments on commit 76c1dce

Please sign in to comment.