Update register_nodes.lua

master
shivajiva101 2020-09-15 15:06:03 +01:00 committed by GitHub
parent 3a84fbaa06
commit 7b80cbe22d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ for i, v in ipairs(eggwars.arena[1].cs) do
eggs = match.player[attacker].eggs + 1
match.player[attacker].eggs = eggs
msg = victim .. "'s egg was destroyed by " .. attacker
eggwars.add_tmp_image(victim, 'eggwars_destroyed.png', 5)
eggwars.chat_send_match(key, msg)
eggwars.update_hud(key, match.player[victim].id)
eggwars.match[key] = match