Skip to content

Commit

Permalink
Merge branch 'master' into donate_max
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT authored Nov 10, 2024
2 parents 7e7d4a7 + e207edf commit b000471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mods/other/afkkick/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ minetest.register_globalstep(function(dtime)
if players[playerName]["lastAction"] + MAX_INACTIVE_TIME - WARN_TIME < currGameTime then
minetest.chat_send_player(playerName, minetest.colorize("#FF8C00",
S("Warning, you have @1 seconds to move or be kicked",
tostring(players[playerName]["lastAction"] + MAX_INACTIVE_TIME - currGameTime + 1))))
tostring(math.floor(players[playerName]["lastAction"] + MAX_INACTIVE_TIME - currGameTime + 1)))))
end
end
end
Expand Down

0 comments on commit b000471

Please sign in to comment.