Author Topic: [BUG] [PLAYER] Music resets itself when trapdoor opens and first lem comes out  (Read 1804 times)

0 Members and 1 Guest are viewing this topic.

Offline Wafflem

  • Posts: 943
    • View Profile
Steps for this bug to occur:
1. Make sure the music is off.
2. Open a level.
3. Press the music on/off hotkey anytime before the trapdoor opens, to turn on the music.
4. Wait until the trapdoor opens and a lemming comes out. The music resets itself as soon as the first lemming comes out.

What should happen instead: if you turn on the music before the first lemming comes out, it should not reset itself when the first lemming enters.
YouTube: www.tinyurl.com/YTWafflem
Twitch: www.twitch.tv/Wafflem467

Have level designer's block right now? Have some of my incomplete levels for LOTS of ideas!

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
I think I can guess why this is happening, and it should be a simple fix. I'll look at it soon. :)
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Fixed for next update.

One slight change to your suggestion - at least what I'm getting is, you think the music should start immediately when turned on (even if, had the setting been on from the start, music wouldn't've started yet). Instead of this, I simply made it so that turning on the music option during gameplay will only start the music if the music should've been playing anyway.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)