Weird lag after combat bug

Hey all,

I just got a weird bug. here's what going on, I just created my 101th map and i was play testing it. got in to a battle. here is what got weird. after the battle the game slows to a crawl. there no parallel events playing in the map. My troops event is simple, no complex events or anything. Test it on other maps with no problem. any ideas whats going on?
since you didn't tell us what you did, we can't even guess - but nothing on a computer is random, there is always a cause.

Start by giving us a screenshot of the map event with the battle, and if the troop has any troop events then those as well. Then we can check what might have caused this.
Most probably you have a double use of a switch or a logic error or something like that, but we need more info to start helping.
ok like i said this is a simple map with few Treasure chests-like events and two exits. I have used the same troop in my first map and it work flawlessly. I even turned off my plug-ins, but still had the same lag problem.
Please search your project for all uses of the switch 134. If the map lags after the end of that battle, then that switch is probably triggering something that causes the lag.
Post screenshots of that use if you don't see how it could cause lag.
yup it was, I forgot to add a disabling event for switch 134.

Original thread: https://forums.rpgmakerweb.com/threads/weird-lag-after-combat-bug.77779/