Skip to content

Commit

Permalink
fix: no player spectation in default build
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenapte committed Sep 15, 2024
1 parent 05f4296 commit 6de6f87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ jobs:
run: |
echo "`n#define BMMO_WITH_PLAYER_SPECTATION" | Out-File "BallanceMMOClient/bml_includes.h" -Encoding "UTF8" -Append
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
rm ${{github.workspace}}/build/BallanceMMOClient/${{env.BUILD_TYPE}}/BallanceMMOClient.exp, ${{github.workspace}}/build/BallanceMMOClient/${{env.BUILD_TYPE}}/BallanceMMOClient.lib
cd ${{github.workspace}}/build/BallanceMMOClient/${{env.BUILD_TYPE}}
rm BallanceMMOClient.exp, BallanceMMOClient.lib
- name: Release artifact
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion BallanceMMOClient/BallanceMMOClient.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#define BMMO_WITH_PLAYER_SPECTATION
//#define BMMO_WITH_PLAYER_SPECTATION
//#define BMMO_NAME_LABEL_WITH_EXTRA_INFO
#include "bml_includes.h"
#include "CommandMMO.h"
Expand Down

0 comments on commit 6de6f87

Please sign in to comment.