浏览代码

Unused preDemoRecord()

Johxz 8 年之前
父节点
当前提交
731981dbb6

+ 0 - 1
Templates/Empty/game/core/scripts/client/recordings.cs

@@ -97,7 +97,6 @@ function startDemoRecord()
 
 
    ChatHud.AddLine( "\c4Recording to file [\c2" @ $DemoFileName @ "\cr].");
    ChatHud.AddLine( "\c4Recording to file [\c2" @ $DemoFileName @ "\cr].");
 
 
-   ServerConnection.prepDemoRecord();
    ServerConnection.startRecording($DemoFileName);
    ServerConnection.startRecording($DemoFileName);
 
 
    // make sure start worked
    // make sure start worked

+ 0 - 1
Templates/Full/game/core/scripts/client/recordings.cs

@@ -97,7 +97,6 @@ function startDemoRecord()
 
 
    ChatHud.AddLine( "\c4Recording to file [\c2" @ $DemoFileName @ "\cr].");
    ChatHud.AddLine( "\c4Recording to file [\c2" @ $DemoFileName @ "\cr].");
 
 
-   ServerConnection.prepDemoRecord();
    ServerConnection.startRecording($DemoFileName);
    ServerConnection.startRecording($DemoFileName);
 
 
    // make sure start worked
    // make sure start worked