Skip to content

Commit

Permalink
Allow server_config to be empty for gameye servers
Browse files Browse the repository at this point in the history
  • Loading branch information
Arie committed May 5, 2019
1 parent 8d7e4f7 commit 0f33008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/gameye_server.rb
Expand Up @@ -60,7 +60,7 @@ def self.launch_gameye(reservation)
stvPassword: reservation.tv_password,
motd: "This is a serveme.tf test",
whitelist: reservation.custom_whitelist_id,
config: reservation.server_config.file
config: (reservation.server_config && reservation.server_config.file)
}
)
end
Expand Down

0 comments on commit 0f33008

Please sign in to comment.