2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-23 13:12:06 +00:00

Added a default entity string if the entity file isn't given

This commit is contained in:
LJW-Dev
2025-10-11 19:01:48 +08:00
parent 2906a9cf92
commit 15918506c3
2 changed files with 25 additions and 4 deletions

View File

@@ -104,3 +104,20 @@ const std::string defaultSpawnpointString = "{"
"}";
const std::string defaultMapEntsString = "{"
"\"entities\": ["
"{"
"\"classname\": \"worldspawn\""
"},"
"{"
"\"angles\": \"0 0 0\","
"\"classname\": \"info_player_start\","
"\"origin\": \"0 0 0\""
"},"
"{"
"\"angles\": \"0 0 0\","
"\"classname\": \"mp_global_intermission\","
"\"origin\": \"0 0 0\""
"}"
"]"
"}";