Skip to content
Snippets Groups Projects
Commit e757854b authored by dg's avatar dg
Browse files

Fix hotkey page switch message

git-svn-id: http://svn.net-core.org/repos/t-engine4@1551 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7bfa7a81
No related branches found
No related tags found
No related merge requests found
......@@ -692,8 +692,8 @@ function _M:setupCommands()
HOTKEY_THIRD_10 = not_wild(function() self.player:activateHotkey(34) end),
HOTKEY_THIRD_11 = not_wild(function() self.player:activateHotkey(35) end),
HOTKEY_THIRD_12 = not_wild(function() self.player:activateHotkey(36) end),
HOTKEY_PREV_PAGE = not_wild(function() self.player:prevHotkeyPage() self.log("Hotkey page %d is now displayed.", self.hotkey_page) end),
HOTKEY_NEXT_PAGE = not_wild(function() self.player:nextHotkeyPage() self.log("Hotkey page %d is now displayed.", self.hotkey_page) end),
HOTKEY_PREV_PAGE = not_wild(function() self.player:prevHotkeyPage() self.log("Hotkey page %d is now displayed.", self.player.hotkey_page) end),
HOTKEY_NEXT_PAGE = not_wild(function() self.player:nextHotkeyPage() self.log("Hotkey page %d is now displayed.", self.player.hotkey_page) end),
-- HOTKEY_HOTPAGE2 = function(sym, ctrl, shift, alt, meta, unicode, isup) self.player:setHotkeyPage(isup and 1 or 2) end,
-- HOTKEY_HOTPAGE3 = function(sym, ctrl, shift, alt, meta, unicode, isup) self.player:setHotkeyPage(isup and 1 or 3) end,
......
......@@ -144,8 +144,8 @@ function _M:tooltip(x, y, seen_by)
if not str then return end
local killed = game.player.all_kills and (game.player.all_kills[self.name] or 0) or 0
return str..([[
Killed by you: %d
Killed by you: %d
Target: %s
UID: %d]]):format(
killed,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment