Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ui/game/enemy_location.lua
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ end

G.FUNCS.mp_setup_hover_enemy_location_display = function(e)
e.config.func = nil
if MP.LOBBY.config.enemy_location_disabled then return end
e.states.collide.can = true
e.states.hover.can = true

Expand Down
2 changes: 1 addition & 1 deletion ui/game/timer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ function MP.UI.update_matching_skip_timer(from_nemesis)
return
end

local new_diff = math.abs((MP.GAME.skips_before_pvp or 0) - (MP.GAME.enemy.skips_before_pvp or 0))
local new_diff = math.max((MP.GAME.skips_before_pvp or 0) - (MP.GAME.enemy.skips_before_pvp or 0), 0)
local skips_dx = new_diff - (MP.GAME.skips_difference or 0)
MP.GAME.skips_difference = new_diff

Expand Down