Put gamecompat test stuff in fixture

This commit is contained in:
Jude Melton-Houghton 2022-05-31 15:53:14 -04:00
parent c92b4271ad
commit 497d362b85
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,7 @@
mineunit("player")
fixture("mesecons")
mesecon.node_sound = {}
fixture("mesecons_gamecompat")
local registered_on_player_receive_fields = {}
local old_register_on_player_receive_fields = minetest.register_on_player_receive_fields

View File

@ -0,0 +1,5 @@
fixture("mesecons")
mineunit:set_current_modname("mesecons_gamecompat")
mineunit:set_modpath("mesecons_gamecompat", "../mesecons_gamecompat")
sourcefile("../mesecons_gamecompat/init")