# HG changeset patch # User Emmanuel Gil Peyrot # Date 1317406773 25200 # Node ID cadfc5e5ad7adacc970128144eb439f5154cd0f4 # Parent ea21bb37febeb30a4440e590766740da67125d83 Fix a stupid inversion of properties. diff --git a/pytouhou/vm/eclrunner.py b/pytouhou/vm/eclrunner.py --- a/pytouhou/vm/eclrunner.py +++ b/pytouhou/vm/eclrunner.py @@ -285,7 +285,7 @@ class ECLRunner(object): @instruction(9) - def set_random_float2(self, variable_id, minval, amp): + def set_random_float2(self, variable_id, amp, minval): self._setval(variable_id, self._getval(minval) + self._getval(amp) * self._game_state.prng.rand_double())