Correct typo causing war declaring to fail

master
rubenwardy 2016-05-19 22:04:13 +01:00
parent ae9c820e03
commit c54d7e2bbc
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
tname2 = string.match(key, "war_(.+)")
if tname2 then
ctf.diplo.set(team, tname2,"war")
ctf.diplo.set(tname, tname2, "war")
ctf.post(tname, {
msg = "You have declared war on " .. tname2 })
ctf.post(tname2, {