Add medkit interrupt reasons (#729)
This commit is contained in:
parent
0d09cae845
commit
1da0840f11
2 changed files with 24 additions and 5 deletions
|
@ -64,7 +64,9 @@ end)
|
|||
|
||||
minetest.register_on_punchplayer(function(_, hitter)
|
||||
if ctf_match.is_in_build_time() then
|
||||
minetest.chat_send_player(hitter:get_player_name(), "Match hasn't started yet!")
|
||||
if hitter:is_player() then
|
||||
minetest.chat_send_player(hitter:get_player_name(), "Match hasn't started yet!")
|
||||
end
|
||||
return true
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue