you do a variable_get in the global scope. it is: define('TELEPORT_HOTKEY', variable_get('teleport_hotkey', 'T'));.
thats a little undrupalish. please move this code to hook_init(). you don't always know that variable_get() is working when you get included.
Comments
Comment #1
incidentist commentedChanged the define() to define the default key character, and use variable_get()s where TELEPORT_HOTKEY used to be.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.