Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf authored Oct 18, 2023
1 parent 00f70f2 commit 0945c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_events/manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0945c30

Please sign in to comment.