Skip to content

Commit f8fbd3c

Browse files
committed
Fix crash caused by bad type on IGamemodeSystem::workshopid
Bump revision number
1 parent 136810e commit f8fbd3c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ namespace global
2727

2828
LUA->CreateTable( );
2929

30-
LUA->PushString( "serversecure 1.5.32" );
30+
LUA->PushString( "serversecure 1.5.33" );
3131
LUA->SetField( -2, "Version" );
3232

3333
// version num follows LuaJIT style, xxyyzz
34-
LUA->PushNumber( 10532 );
34+
LUA->PushNumber( 10533 );
3535
LUA->SetField( -2, "VersionNum" );
3636

3737
LUA->PushCFunction( GetClientCount );

source/netfilter/core.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ namespace netfilter
234234
reply_info.tags = " gm:";
235235
reply_info.tags += gamemode.name;
236236

237-
if( !gamemode.workshopid.empty( ) )
237+
if( !gamemode.workshopid )
238238
{
239239
reply_info.tags += " gmws:";
240-
reply_info.tags += gamemode.workshopid;
240+
reply_info.tags += std::to_string( gamemode.workshopid );
241241
}
242242
}
243243

0 commit comments

Comments
 (0)