Merge branch 'master' of https://github.com/MT-CTF/capturetheflag
This commit is contained in:
commit
380a252c7e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ shooter.get_weapon_spec = function(user, weapon_name)
|
||||||
|
|
||||||
if table.indexof(class.properties.allowed_guns or {}, weapon_name) == -1 then
|
if table.indexof(class.properties.allowed_guns or {}, weapon_name) == -1 then
|
||||||
minetest.chat_send_player(user:get_player_name(),
|
minetest.chat_send_player(user:get_player_name(),
|
||||||
"Your class can't use that weapon! Change your class at spawn")
|
"Your class can't use that weapon! Change your class at base")
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue