Move global core variables to mcl_init

This commit is contained in:
Wuzzy 2017-02-17 23:06:52 +01:00
parent f652d5ecb5
commit 91950ee026
19 changed files with 44 additions and 34 deletions

View file

@ -3039,8 +3039,8 @@ function mobs:feed_tame(self, clicker, feed_count, breed, tame)
local tag = self.nametag or ""
minetest.show_formspec(name, "mobs_nametag", "size[8,4]"
.. default.gui_bg
.. default.gui_bg_img
.. mcl_vars.gui_bg
.. mcl_vars.gui_bg_img
.. "field[0.5,1;7.5,0;name;" .. S("Enter name:") .. ";" .. tag .. "]"
.. "button_exit[2.5,3.5;3,1;mob_rename;" .. S("Rename") .. "]")