comparison RatPageController.lua @ 15:80192bc4a108

Replaced the global msg function with CyborgMMO_DPrint: - avoids conflicts with other addons ('msg' is too generic) - has 'print' semantics (several values accepted, calls tostring) - use AddMessage with a colored prefix, instead of plain SendChatMessage
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Thu, 25 Apr 2013 01:29:55 +0000
parents 6cb9a2936580
children cccc7661a2e6
comparison
equal deleted inserted replaced
14:9f2d838d4f8e 15:80192bc4a108
32 slotObject.Pickup() 32 slotObject.Pickup()
33 end 33 end
34 end 34 end
35 35
36 self.ModeClicked = function(mode) 36 self.ModeClicked = function(mode)
37 msg("Setting mode "..tostring(mode.Id)) 37 CyborgMMO_DPrint("Setting mode "..tostring(mode.Id))
38 CyborgMMO_RatPageModel.Instance().SetMode(mode.Id) 38 CyborgMMO_RatPageModel.Instance().SetMode(mode.Id)
39 end 39 end
40 40
41 self.GetCursorObject = function() 41 self.GetCursorObject = function()
42 local cursorObject = nil 42 local cursorObject = nil