Let luaAsInt() return sensible values for non-numeric data.
This commit is contained in:
@@ -105,7 +105,6 @@ public class LValue {
|
||||
|
||||
/** Return value as an integer */
|
||||
public int luaAsInt() {
|
||||
luaUnsupportedOperation();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user