From d24f107f671c7cf25cb96ac011f532d3b6b3f691 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 18 Sep 2022 13:34:16 +0300 Subject: [PATCH 38/38] Clear trailing spaces from user lua -files dependencies/tolua build related files not touched. See osdn #45182 Signed-off-by: Marko Lindqvist --- data/alien/script.lua | 2 +- data/default/default.lua | 2 +- data/multiplayer/script.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/alien/script.lua b/data/alien/script.lua index f0fbc73cf1..fa2fd77943 100644 --- a/data/alien/script.lua +++ b/data/alien/script.lua @@ -80,7 +80,7 @@ function alien_hut_get_barbarians(unit) _("The Space Capsule was already scavenged by someone.")) return true end - + local alive = tile:unleash_barbarians() if alive then notify.event(owner, tile, E.HUT_BARB, diff --git a/data/default/default.lua b/data/default/default.lua index 2f9f97cddd..6ed3a2b79f 100644 --- a/data/default/default.lua +++ b/data/default/default.lua @@ -114,7 +114,7 @@ function _deflua_hut_get_barbarians(unit) _("An abandoned village is here.")) return true end - + local alive = tile:unleash_barbarians() if alive then notify.event(owner, tile, E.HUT_BARB, diff --git a/data/multiplayer/script.lua b/data/multiplayer/script.lua index a0f39f319f..3fcc83a464 100644 --- a/data/multiplayer/script.lua +++ b/data/multiplayer/script.lua @@ -137,6 +137,6 @@ function tech_researched_handler(tech, player, how) player:research_name_translation(), gained:name_translation()) end -end +end signal.connect("tech_researched", "tech_researched_handler") -- 2.35.1