Fix crash with invalid number passed to select_area

This commit is contained in:
ShadowNinja 2013-09-08 20:52:20 -04:00
parent e86c760c78
commit 547fa726bf

@ -19,6 +19,7 @@ minetest.register_chatcommand("select_area", {
if not id then
minetest.chat_send_player(name,
"Invalid usage, see /help select_area.")
return
end
for k, area in pairs(areas.areas) do