Skip to content

Commit

Permalink
fix capital letter in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
NoCatt committed Aug 26, 2023
1 parent 5ef5e35 commit 761274a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct
]

table<entity, AccumulatedDamageData> playerAccumulatedDamageData
array< void functionref( entity ) > WeaponDroppedCallbacks
array< void functionref( entity ) > weaponDroppedCallbacks
} file

void function CodeCallback_Init()
Expand Down Expand Up @@ -1036,7 +1036,7 @@ void function CodeCallback_OnServerAnimEvent( entity ent, string eventName )

void function AddCallback_OnWeaponDropped( void functionref( entity ) callback )
{
file.WeaponDroppedCallbacks.append( callback )
file.weaponDroppedCallbacks.append( callback )
}

void function CodeCallback_WeaponDropped( entity weapon )
Expand All @@ -1051,7 +1051,7 @@ void function CodeCallback_WeaponDropped( entity weapon )
return
}

foreach( callback in file.WeaponDroppedCallbacks )
foreach( callback in file.weaponDroppedCallbacks )
callback( weapon )
}
#endif // #if MP

0 comments on commit 761274a

Please sign in to comment.