From c41f6509cf2758945fbc0810ff9d7ab0fc077228 Mon Sep 17 00:00:00 2001
From: _TarkFrench <39446667+Tarku@users.noreply.github.com>
Date: Sat, 26 Oct 2019 19:34:17 +0200
Subject: [PATCH] French translation: fix some errors and ortho (#513)

---
 technic/radiation.lua |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/technic/radiation.lua b/technic/radiation.lua
index f0d7f61..dd476c5 100644
--- a/technic/radiation.lua
+++ b/technic/radiation.lua
@@ -309,7 +309,7 @@
 end
 
 local function dmg_object(pos, object, strength)
-	local obj_pos = vector.add(object:getpos(), calculate_object_center(object))
+	local obj_pos = vector.add(object:get_pos(), calculate_object_center(object))
 	local mul
 	if armor_enabled or entity_damage then
 		-- we need to check may the object be damaged even if armor is disabled
@@ -513,4 +513,3 @@
 		end,
 	})
 end
-

--
Gitblit v1.8.0