diff 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
line wrap: on
line diff
--- a/RatPageController.lua	Thu Apr 25 01:29:50 2013 +0000
+++ b/RatPageController.lua	Thu Apr 25 01:29:55 2013 +0000
@@ -34,7 +34,7 @@
 		end
 
 		self.ModeClicked = function(mode)
-			msg("Setting mode "..tostring(mode.Id))
+			CyborgMMO_DPrint("Setting mode "..tostring(mode.Id))
 			CyborgMMO_RatPageModel.Instance().SetMode(mode.Id)
 		end