From 96f250ed8f5b019904bb67c427fe5c1babf0f4df Mon Sep 17 00:00:00 2001 From: ANAND Date: Fri, 3 May 2019 18:14:05 +0530 Subject: minimal: Fix crash due to assertion fail --- games/minimal/mods/test/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games') diff --git a/games/minimal/mods/test/init.lua b/games/minimal/mods/test/init.lua index 4806ba4fc..2692cf425 100644 --- a/games/minimal/mods/test/init.lua +++ b/games/minimal/mods/test/init.lua @@ -19,7 +19,7 @@ local function run_hpchangereason_tests(player) assert(expect == nil) expect = { a = 234, type = "set_hp", from = "mod" } - player:set_hp(10, { a= 234 }) + player:set_hp(7, { a= 234 }) assert(expect == nil) expect = { df = 3458973454, type = "fall", from = "mod" } -- cgit v1.2.3