Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,9 @@ int CLuaTimerDefs::SetTimer(lua_State* luaVM) | |
// Check for the minimum interval | ||
if (dTimeInterval < LUA_TIMER_MIN_INTERVAL) | ||
This comment has been minimized.
Sorry, something went wrong. |
||
{ | ||
argStream.SetCustomError("Interval is below 50"); | ||
char errorBuffer[64]; | ||
snprintf(errorBuffer, NUMELMS(errorBuffer), "Interval is below %d", LUA_TIMER_MIN_INTERVAL); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
sbx320
Member
|
||
argStream.SetCustomError(errorBuffer); | ||
} | ||
else | ||
{ | ||
|
4 comments
on commit 5910ddf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
€DIT: This only works server-side, client side it still gives the "50ms" error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's only a server-side change (for now?)
/cc @botder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to make the changes in the respective client-side Lua function definitions/headers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 950c244
this line should be removed, i want to make time traveling