From e173761cb510d131b3cb31a73cf857accae96f27 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 11 Dec 2021 01:40:34 +0200 Subject: [PATCH 46/46] Lua give_bulbs(): Fix sending updated info to clients Reported by Lexxie See osdn #43378 Signed-off-by: Marko Lindqvist --- server/scripting/api_server_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/scripting/api_server_edit.c b/server/scripting/api_server_edit.c index 987b18d0d8..f2ed74c73c 100644 --- a/server/scripting/api_server_edit.c +++ b/server/scripting/api_server_edit.c @@ -1009,5 +1009,5 @@ void api_edit_player_give_bulbs(lua_State *L, Player *pplayer, int amount) update_bulbs(pplayer, amount, TRUE); - send_player_info_c(pplayer, NULL); + send_research_info(research_get(pplayer), NULL); } -- 2.33.0