From 6ff92aefa32e0bb9f1e888713f643a68ea7f73c6 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Wed, 31 Dec 2014 04:15:48 +1100 Subject: [PATCH] T S1: fixed indent on the lua block --- .../tutorial/scenarios/01_Tutorial_part_1.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/campaigns/tutorial/scenarios/01_Tutorial_part_1.cfg b/data/campaigns/tutorial/scenarios/01_Tutorial_part_1.cfg index 56f6f8b730ef..686c46b5774d 100644 --- a/data/campaigns/tutorial/scenarios/01_Tutorial_part_1.cfg +++ b/data/campaigns/tutorial/scenarios/01_Tutorial_part_1.cfg @@ -208,14 +208,14 @@ You are standing on the keep, and your mentor Delfador is on the east side of th [lua] code= << - local unit = wesnoth.get_units({id = "student"})[1] - local hp_diff = unit.max_hitpoints - unit.hitpoints + local unit = wesnoth.get_units({id = "student"})[1] + local hp_diff = unit.max_hitpoints - unit.hitpoints - if hp_diff > 7 then hp_diff = 8 end + if hp_diff > 7 then hp_diff = 8 end - wesnoth.set_variable("student_hp", unit.hitpoints) - wesnoth.set_variable("student_hp_heal_amount", hp_diff) - >> + wesnoth.set_variable("student_hp", unit.hitpoints) + wesnoth.set_variable("student_hp_heal_amount", hp_diff) + >> [/lua] [/event]