summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/misc.rpy3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/misc.rpy b/game/misc.rpy
index d13d473..9bf6ac0 100644
--- a/game/misc.rpy
+++ b/game/misc.rpy
@@ -401,7 +401,8 @@ init python:
## Download the file, slowly as it may be...
max_value = int(r.headers.get('content-length', 0))
print "Blocks: %d" % max_value
- block_size = 1024 #1 Kibibyte
+ ## TODO: use blocks of 1024 on DSL and 1048576 on broadband?
+ block_size = 8192
max_value = max_value / block_size
statusmsg = "Downloading the zip file..."
with open(get_path("allinone.zip"), 'wb') as f: