mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-14 09:30:46 +00:00
WFL: fixup 9ddf6ca53a
This commit is contained in:
parent
ddb0e83c2b
commit
aabe92e0f9
|
@ -281,7 +281,7 @@ DEFINE_WFL_FUNCTION(debug_print, 1, 2)
|
|||
|
||||
if(game_config::debug && game_display::get_singleton()) {
|
||||
game_display::get_singleton()->get_chat_manager().add_chat_message(
|
||||
std::time(nullptr), "WFL", 0, str, events::chat_handler::MESSAGE_PUBLIC, false);
|
||||
std::time(nullptr), speaker, 0, str, events::chat_handler::MESSAGE_PUBLIC, false);
|
||||
}
|
||||
|
||||
return value;
|
||||
|
|
Loading…
Reference in New Issue
Block a user