Commit 92f5a905 authored by Hanspeter Portner's avatar Hanspeter Portner

fix bug in _lforge_time.

parent 7ba93119
......@@ -82,7 +82,7 @@ _lforge_time(lua_State *L)
}
else if(lua_isnumber(L, 2))
{
double beats = lua_tointeger(L, 2);
double beats = lua_tonumber(L, 2);
return _lforge_beat_time_inlined(L, lforge, beats);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment