mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Rename player_damage
to player_damaged
.
The name was ambiguous. The delegate is triggered when the player gets hit (getting damaged), and not when the player damages someone else. The name properly matches the action.
This commit is contained in:
parent
32f850556e
commit
32411b2a90
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ const Vector bcolor(1.0, 0.0, 0.0);
|
|||
ScriptDelegate Player::scriptDelegate_connected("player_connected", "Sent once when the player connected");
|
||||
ScriptDelegate Player::scriptDelegate_disconnecting("player_disconnecting", "The player is disconnecting");
|
||||
ScriptDelegate Player::scriptDelegate_spawned("player_spawned", "The player has spawned");
|
||||
ScriptDelegate Player::scriptDelegate_damage("player_damage", "The player got hit");
|
||||
ScriptDelegate Player::scriptDelegate_damage("player_damaged", "The player got hit");
|
||||
ScriptDelegate Player::scriptDelegate_kill("player_killed", "The player got killed");
|
||||
ScriptDelegate Player::scriptDelegate_textMessage("player_textMessage", "The player just sent a text message");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue