Add files via upload

master
AiTechEye 2022-04-21 21:01:03 +02:00 committed by GitHub
parent e50c6778ec
commit a05c8d1623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1059,7 +1059,9 @@ minetest.register_node("exatec:counter", {
local c = meta:get_int("count")+1
local times = meta:get_int("times")
if c >= times then
exatec.send(pos,true)
minetest.after(0, function(pos)
exatec.send(pos,true)
end,pos)
c = 0
end
meta:set_int("count",c)