File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,11 @@ namespace global
87
87
{
88
88
LUA->CreateTable ( );
89
89
90
- LUA->PushString ( " sourcenet 1.1.15 " );
90
+ LUA->PushString ( " sourcenet 1.1.16 " );
91
91
LUA->SetField ( -2 , " Version" );
92
92
93
93
// version num follows LuaJIT style, xxyyzz
94
- LUA->PushNumber ( 10115 );
94
+ LUA->PushNumber ( 10116 );
95
95
LUA->SetField ( -2 , " VersionNum" );
96
96
97
97
LUA->SetField ( GarrysMod::Lua::INDEX_GLOBAL, " sourcenet" );
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ namespace global
60
60
else if ( number > static_cast <double >( max ) )
61
61
{
62
62
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 ) );
64
64
LUA->ArgError ( idx, extra );
65
65
}
66
66
You can’t perform that action at this time.
0 commit comments