Skip to content

Commit

Permalink
Make "No current area name" error message more friendly (Mudlet#3086)
Browse files Browse the repository at this point in the history
* Make "No current area name" error message more friendly

* Improve grammar
  • Loading branch information
vadi2 authored Sep 15, 2019
1 parent e5c1e01 commit bc749de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mudlet-lua/lua/generic-mapper/generic_mapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,7 @@ function map.start_mapping(area_name)
area_name = areas[map.currentArea]
end
if not area_name then
show_err("No current area name, set one like this: <yellow>start mapping <area name><reset>")
show_err("You haven't started mapping yet, how should the first area be called? Set it with: <yellow>start mapping <area name><reset>")
end
map.echo("Now mapping in area: " .. area_name)
map.set("mapping", true)
Expand Down

0 comments on commit bc749de

Please sign in to comment.