global variable fix in python
fixed a bug with the server only reporting the changes of the last effect of a card if the card had several effects