[APPROVED] scissors.js fix

Want to contribute to the Ultima Offline eXperiment? Submit your JS/DFN/Code fixes and/or other UOX3 improvements here!
Post Reply
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

scissors.js fix

Post by dragon slayer »

I was just tetsing this and the script threw me a error. so i looked i was like ah

open scissors.js up and go down to this line

Code: Select all

			var isInRange = pUser.InRange( myTarget, 3 );
			if( !isInRange )
		 	{
				pSock.SysMessage( GetDictionaryEntry( 461, socket.Language ) ); // You are too far away.
				return;
			}
As you notic it has socket.Language please change that line to

Code: Select all

pSock.Language
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Nice catch :)
-= Ho Eyo He Hum =-
Post Reply