Have you tried to lower down the value "+= 10*time;" or wait longer than "wait 1",perhaps it's working, but you can't see it...
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de