Skip to content

Commit fef2ea6

Browse files
Cleaned up unneeded variables in BuildGame
1 parent bb2d8b1 commit fef2ea6

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

BuildGame.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@ def build_game():
1010
print( '{} - Step 3: Starting BuildCookRun'.format( game_name ) )
1111
print( '----------------------------------------------------------------------------------------------------' )
1212

13-
section = "Game"
14-
15-
base_dir = env.get_env_variable( 'Local', "base_dir" )
16-
project_dir = env.get_env_variable( section, "project_dir" )
17-
uproject_file = env.get_env_variable( section, "uproject_file" )
18-
builds_dir = env.get_env_variable( section, "builds_dir" )
19-
build_maps = env.get_env_variable( section, "build_maps" )
13+
uproject_file = env.get_env_variable( "Game", "uproject_file" )
14+
builds_dir = env.get_env_variable( "Game", "builds_dir" )
15+
build_maps = env.get_env_variable( "Game", "build_maps" )
2016

2117
ue4_batchfiles_dir = env.get_env_variable( 'Local', "ue4_batchfiles_dir" )
2218
ue4_binaries_dir = env.get_env_variable( 'Local', "ue4_binaries_dir" )

0 commit comments

Comments
 (0)