diff --git a/.gitignore b/.gitignore index eba74f4..6563aaa 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -venv/ \ No newline at end of file +**/*.inc +!**/redm* +!**/scripting/ReDeathmatch/** diff --git a/.vscode/build.sh b/.vscode/build.sh index 99c9779..1004ea7 100644 --- a/.vscode/build.sh +++ b/.vscode/build.sh @@ -111,7 +111,7 @@ if [ "$needCopyOther" ]; then # Copy directories without confirmation with green messages print_color $GREEN " - Copying configs..." - cp -an $srcDir/configs/* $destinationDir/configs/ + cp -r $srcDir/configs/* $destinationDir/configs/ print_color $GREEN " - Copying data..." - cp -an $srcDir/data/* $destinationDir/data/ + cp -r $srcDir/data/* $destinationDir/data/ fi \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 68ca57f..63bf884 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -37,7 +37,7 @@ { "type": "shell", "label": "Run HLDS container", - "command": "docker run --rm -ti -p 26900-27020:26900-27020/udp redeathmatch:${input:mod} ./hlds_run -game ${input:mod} +maxplayers 32 -bots +ip 0.0.0.0 -port 27016 +map de_dust2", + "command": "docker run --rm -ti -p 27016:27016/udp redeathmatch:${input:mod} ./hlds_run -game ${input:mod} +maxplayers 32 -bots +ip 0.0.0.0 -port 27016 +map de_dust2", "dependsOn": [ "Build ReDeathmatch Image" ],