projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e32a630
)
minimal: Fix crash due to assertion fail
author
ANAND
<ClobberXD@gmail.com>
Fri, 3 May 2019 12:44:05 +0000
(18:14 +0530)
committer
sfan5
<sfan5@live.de>
Fri, 3 May 2019 12:44:05 +0000
(14:44 +0200)
games/minimal/mods/test/init.lua
patch
|
blob
|
history
diff --git
a/games/minimal/mods/test/init.lua
b/games/minimal/mods/test/init.lua
index 4806ba4fca0cb88a91bf0a05cd4d7b653d1d12d3..2692cf4253ceede1243b1dfb63c633b6a96dca94 100644
(file)
--- 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" }