fix bug with player not stopping when deactivated, make key support code simpler
[supertux.git] / data / levels / world2 / key2.stl
index 3603beb..2a00c32 100644 (file)
@@ -46,7 +46,7 @@
     )
       (powerup (x 200) (y 602)
         (sprite "images/objects/keys/key_earth.sprite")
-        (script "get_earth_key();")
+        (script "add_key(\"earth\");")
         (disable-physics #t)
       )
   )