aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testentities
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-06-08 17:15:02 +0200
committersfan5 <sfan5@live.de>2020-06-08 21:17:40 +0200
commita21f9bb7e62b461154a25599a8507ca035fdd463 (patch)
tree56808ef36aeeb656f9ddd0addebab6d5746849e4 /games/devtest/mods/testentities
parent0ab580810c6ccebfd57497b9565e3e396d250d70 (diff)
downloadminetest-a21f9bb7e62b461154a25599a8507ca035fdd463.tar.gz
minetest-a21f9bb7e62b461154a25599a8507ca035fdd463.tar.bz2
minetest-a21f9bb7e62b461154a25599a8507ca035fdd463.zip
devtest: Improve tool and formspec usability
also fix the yawsprite test entity
Diffstat (limited to 'games/devtest/mods/testentities')
-rw-r--r--games/devtest/mods/testentities/visuals.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/devtest/mods/testentities/visuals.lua b/games/devtest/mods/testentities/visuals.lua
index de346fd68..314f51657 100644
--- a/games/devtest/mods/testentities/visuals.lua
+++ b/games/devtest/mods/testentities/visuals.lua
@@ -66,9 +66,9 @@ minetest.register_entity("testentities:yawsprite", {
textures = {"testentities_dungeon_master.png^[makealpha:128,0,0^[makealpha:128,128,0"},
spritediv = {x=6, y=5},
initial_sprite_basepos = {x=0, y=0},
- on_activate = function(self, staticdata)
- self.object:set_sprite({x=0, y=0}, 1, 0, true)
- end,
},
+ on_activate = function(self, staticdata)
+ self.object:set_sprite({x=0, y=0}, 1, 0, true)
+ end,
})