diff options
author | ANAND <ClobberXD@gmail.com> | 2019-05-03 18:14:05 +0530 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-05-03 14:44:05 +0200 |
commit | 96f250ed8f5b019904bb67c427fe5c1babf0f4df (patch) | |
tree | 24ae2c1dc78572030733536b76a675efee80057a /games/minimal/mods | |
parent | e32a630937de69454c741e93979a7889fcddc7a9 (diff) | |
download | minetest-96f250ed8f5b019904bb67c427fe5c1babf0f4df.tar.gz minetest-96f250ed8f5b019904bb67c427fe5c1babf0f4df.tar.bz2 minetest-96f250ed8f5b019904bb67c427fe5c1babf0f4df.zip |
minimal: Fix crash due to assertion fail
Diffstat (limited to 'games/minimal/mods')
-rw-r--r-- | games/minimal/mods/test/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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" } |