Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify unknown NPC error in mapgen #45547

Merged
merged 1 commit into from
Nov 21, 2020

Conversation

anothersimulacrum
Copy link
Member

Summary

SUMMARY: None

Purpose of change

This error occurs when the game is supplied an invalid npc_template for place_npcs in a mapgen entry. However, it says it was supplied an invalid npc_class, which is a separate type, leading to confusion. Also, stick the thing it's having a problem with there, just for redundancy.

Describe the solution

Change error message string.

Testing

image

This error occurs when the game is supplied an invalid npc_template for
`place_npcs` in a mapgen entry. However, it says it was supplied an
invalid npc class, which is a separate type, leading to confusion.
Also, stick the thing it's having a problem with there, just for
redundancy.
@anothersimulacrum anothersimulacrum added the [C++] Changes (can be) made in C++. Previously named `Code` label Nov 21, 2020
@ZhilkinSerg ZhilkinSerg merged commit e4cd1d3 into CleverRaven:master Nov 21, 2020
@anothersimulacrum anothersimulacrum deleted the clarify branch November 21, 2020 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants