Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
minimal: Fix crash due to assertion fail
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
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" } |
|
|