diff options
author | Thorin <toz@thorin-kerrs-macbook-3.local> | 2012-03-23 16:44:20 (GMT) |
---|---|---|
committer | Thorin <toz@thorin-kerrs-macbook-3.local> | 2012-03-23 16:44:20 (GMT) |
commit | c1763fc16ca4e3244a7ad393cdc6d1c19f5e4dd8 (patch) | |
tree | b8911004b6ab71e94e9fb095737c99b41dff30f0 | |
parent | ae59754494d46f266e5e4d298891dd6923239d30 (diff) |
fixing silly mistake in parameters
-rwxr-xr-x | City/Parameters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/City/Parameters.py b/City/Parameters.py index 480530e..1f95e02 100755 --- a/City/Parameters.py +++ b/City/Parameters.py @@ -1,7 +1,7 @@ #!/usr/bin/env python #This python module is part of the Jam2Jam XO Activity, March, 2010 # -#Copyright (C) 2010 Thorin Kerr & Andrew Brown +#Copyright (C) 2012 Thorin Kerr & Andrew Brown # #This program is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ class Instrument(): def loadImage(self, path, *scale): img = pygame.image.load(path) if scale: - img = pygame.transform.scale(img, int(img.get_width() * scale[0]), int(img.get_height() * scale[-1])) + img = pygame.transform.scale(img, (int(img.get_width() * scale[0]), int(img.get_height() * scale[-1]))) img = img.convert_alpha() self.active_image = img self.Rect.size = img.get_size() |