X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fpushbutton.cpp;h=30e364c402e1b36c9780dda3148fb3aff443ff2e;hb=08ccb17345a52f5ffd8a5dd6ecf675cad55f16a7;hp=45012f33b34c17d28d3489e8ebbebbc23283cf27;hpb=0359125f7311a49b78a585a9df485de613da343f;p=supertux.git diff --git a/src/object/pushbutton.cpp b/src/object/pushbutton.cpp index 45012f33b..30e364c40 100644 --- a/src/object/pushbutton.cpp +++ b/src/object/pushbutton.cpp @@ -71,7 +71,7 @@ PushButton::collision(GameObject& other, const CollisionHit& hit) // play sound sound_manager->play(BUTTON_SOUND); - + // run script std::istringstream stream(script); Sector::current()->run_script(stream, "PushButton"); @@ -80,4 +80,3 @@ PushButton::collision(GameObject& other, const CollisionHit& hit) } IMPLEMENT_FACTORY(PushButton, "pushbutton"); -