summaryrefslogtreecommitdiff
path: root/emergencyphone
diff options
context:
space:
mode:
Diffstat (limited to 'emergencyphone')
-rw-r--r--emergencyphone/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/emergencyphone/init.lua b/emergencyphone/init.lua
index 4f4d1c7..8c25c65 100644
--- a/emergencyphone/init.lua
+++ b/emergencyphone/init.lua
@@ -2,7 +2,7 @@
StreetsMod: Emergency Phone
]]
minetest.register_node(":streets:emergencyphone",{
- description = S("Emergency Phone"),
+ description = streets.S("Emergency Phone"),
tiles = {"streets_sos_top.png","streets_sos_bottom.png","streets_sos_side.png","streets_sos_side.png","streets_sos_side.png","streets_sos_front.png"},
groups = {cracky = 3},
paramtype2 = "facedir",
@@ -10,7 +10,7 @@ minetest.register_node(":streets:emergencyphone",{
on_rightclick = function(pos,node,clicker)
if clicker:is_player() and clicker:get_hp() < 6 then
clicker:set_hp(6)
- minetest.log("action",clicker:get_player_name() .. " healed by emergency phone at pos (" .. pos.x .. "," .. pos.y .. "," .. pos.z .. ")")
+ minetest.log("action",clicker:get_player_name() .. " healed by emergency phone at pos " .. minetest.pos_to_string(pos) .. "")
end
end
})