From c1763fc16ca4e3244a7ad393cdc6d1c19f5e4dd8 Mon Sep 17 00:00:00 2001 From: Thorin Date: Fri, 23 Mar 2012 16:44:20 +0000 Subject: fixing silly mistake in parameters --- 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() -- cgit v0.9.1