mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Cleaned up the Font:getWrap code a bit.
This commit is contained in:
@@ -88,7 +88,7 @@ int w_openURL(lua_State *L)
|
||||
|
||||
int w_vibrate(lua_State *L)
|
||||
{
|
||||
double seconds = luaL_checknumber(L, 1);
|
||||
double seconds = luaL_optnumber(L, 1, 0.5);
|
||||
instance()->vibrate(seconds);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user