Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit efc59ff

Browse files
committed
call abstract function HandleDeath in nom_key gateway event
1 parent 49ccf1e commit efc59ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎http/gateway/nom_key.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func NomKeyEventCallback(c *WebSocketConnection, d *AnyMessage) {
5252
target.Update(0, 0, player.DeathXPReward)
5353

5454
if r.Mode == room.EliminationMode {
55+
HandleDeath(r, target, p)
5556
// TODO: kick target and update br, coins, xp, etc
5657
break
5758
} else {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /