Skip to content

Commit 2f1a996

Browse files
committed
Fix error in log from global::GetNumber
Bump revision number
1 parent c93c7e2 commit 2f1a996

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ namespace global
8787
{
8888
LUA->CreateTable( );
8989

90-
LUA->PushString( "sourcenet 1.1.15" );
90+
LUA->PushString( "sourcenet 1.1.16" );
9191
LUA->SetField( -2, "Version" );
9292

9393
// version num follows LuaJIT style, xxyyzz
94-
LUA->PushNumber( 10115 );
94+
LUA->PushNumber( 10116 );
9595
LUA->SetField( -2, "VersionNum" );
9696

9797
LUA->SetField( GarrysMod::Lua::INDEX_GLOBAL, "sourcenet" );

source/main.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ namespace global
6060
else if( number > static_cast<double>( max ) )
6161
{
6262
auto extra = LUA->PushFormattedString( "number %f is greater than maximum limit of %f",
63-
number, static_cast<double>( min ) );
63+
number, static_cast<double>( max ) );
6464
LUA->ArgError( idx, extra );
6565
}
6666

0 commit comments

Comments
 (0)