Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No math with distance variable #129

Open
GoogleCodeExporter opened this issue Oct 21, 2015 · 1 comment
Open

No math with distance variable #129

GoogleCodeExporter opened this issue Oct 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.local d = Wherigo.Distance(10, 'ft')
2.local z = d * 2

What is the expected output? What do you see instead?
Works with the Wherigo-Builder. Crashes on an Android-Phone. Comfirmed with the 
OpenWig-Desktop-version.

Workaround:
1. local d = Wherigo.Distance(10, 'ft')
2. local dn = d:GetValue('ft') -- or d:GetValue 'ft' NOT!! d.GetValue('ft')
3. local z = Wherigo.Distance(dn * 2, 'ft')

Please use labels and text to provide additional information.

Original issue reported on code.google.com by [email protected] on 2 Jan 2011 at 11:29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant