Refreshing UI working

This commit is contained in:
Pao
2023-01-23 03:52:51 +01:00
parent bb408e3667
commit 6b39ff83fd
7 changed files with 96 additions and 86 deletions

View File

@@ -161,6 +161,7 @@ function TheOnlyCure.UpdateEveryOneMinute()
-- Updates toc data in a global way, basically player:transmitModData but it works
-- Sends only Limbs since the other stuff is mostly static
if toc_data ~= nil then
-- TODO make it so that we dont send it constantly
sendClientCommand(player, 'TOC', 'ChangePlayerState', { toc_data.Limbs } )
end