1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-11-27 22:38:18 +02:00

Mtn: fix teleport bug for physical character

This commit is contained in:
Gerkiz
2025-01-14 19:52:58 +01:00
parent af0d9e3226
commit 5a961cb732
2 changed files with 12 additions and 2 deletions

View File

@@ -1298,8 +1298,14 @@ show_cooldown_progressbar =
end
local rpg_t = Public.get_value_from_player(player.index)
if not rpg_t then
return
end
local active_spell = Public.get_spell_by_name(rpg_t, rpg_t.dropdown_select_name)
if not active_spell then
return
end
if event.name ~= active_spell.entityName then
Task.set_timeout_in_ticks(update_rate_progressbar, show_cooldown_progressbar, event)
return