Skip to content

Commit

Permalink
ugh removing debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
gesslar committed Sep 23, 2024
1 parent a5825a8 commit 44ed8e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion mfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"package": "Highlighter",
"title": "Highlighter",
"description": "Speedwalking highlighter for Mudlet",
"version": "1.2.0",
"version": "1.2.1",
"author": "gesslar",
"icon": "highlighter.png",
"dependencies": "",
Expand Down
11 changes: 0 additions & 11 deletions src/scripts/Highlighter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,10 @@ function Highlighter:OnStarted()
end

function Highlighter:OnMoved(current_room_id)
display("Highlighting:OnMoved")
if not self.highlighting or not next(self.route) then
return
end

display(self.previous_room_id)
if self.previous_room_id then
if self.route[self.previous_room_id] then
-- if not self.route[self.previous_room_id].timer then
Expand All @@ -202,15 +200,6 @@ function Highlighter:OnMoved(current_room_id)
end
end
self.previous_room_id = current_room_id
--[[
if current_room_id then
if not self.route[current_room_id] or (self.route[current_room_id] and not self.route[current_room_id].timer) then
self:HighlightRoom(current_room_id)
self.previous_room_id = current_room_id
end
end
]]
end

function Highlighter:OnReset(exception, reason)
Expand Down

0 comments on commit 44ed8e5

Please sign in to comment.