distance method in Actor::You

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

Message
Author
crackerzbad
Noob
Noob
Posts: 4
Joined: 24 May 2010, 16:31
Noob?: Yes

distance method in Actor::You

#1 Post by crackerzbad »

It seems like distance method in Actor::You calling Utils::distance
instead of its parent class distance method

simple test: https://gist.github.com/3952601

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: distance method in Actor::You

#2 Post by EternalHarvest »

Yep, all Actor modules should use "use Utils()" instead of "use Utils" then (and call functions in Utils by full name).

Locked