File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -521,11 +521,6 @@ static void export_engine_server(scope _server)
521521 " Tells the engine we can immediately re-use all the edict indices."
522522 )
523523
524- .def (" is_internal_build" ,
525- &IVEngineServer::IsInternalBuild,
526- " Returns true if the engine is an internal build."
527- )
528-
529524 .def (" get_change_accessor" ,
530525 &IVEngineServer::GetChangeAccessor,
531526 args (" edict" ),
@@ -751,7 +746,6 @@ static void export_engine_server(scope _server)
751746 FUNCTION_INFO (GetPrevCheckTransmitInfo)
752747 FUNCTION_INFO (GetSharedEdictChangeInfo)
753748 FUNCTION_INFO (AllowImmediateEdictReuse)
754- FUNCTION_INFO (IsInternalBuild)
755749 FUNCTION_INFO (GetChangeAccessor)
756750 FUNCTION_INFO (CleanUpEntityClusterList)
757751 FUNCTION_INFO (GetAppID)
@@ -887,7 +881,11 @@ static void export_iserver(scope _server)
887881
888882 _IServer.add_property (
889883 " udp_port" ,
884+ #if defined(ENGINE_BRANCH_TF2)
885+ &IServer::GetLocalUDPPort,
886+ #else
890887 &IServer::GetUDPPort,
888+ #endif
891889 " Return the currently used UDP port.\n\n "
892890 " :rtype: int"
893891 );
You can’t perform that action at this time.
0 commit comments