improve error message

Fixes #1507
This commit is contained in:
gfgtdf 2023-10-18 20:04:47 +02:00 committed by GitHub
parent 00f70f2c54
commit 0945c30efd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ void manager::add_events(const config::const_child_itors& cfgs, game_lua_kernel&
for(const config& new_ev : cfgs) {
if(type.empty() && new_ev["id"].empty()) {
WRN_NG << "attempt to add an [event] with empty id=, ignoring ";
WRN_NG << "attempt to add an [event] with empty id= from [unit], ignoring ";
continue;
}