[BUG] multiple execution of xp_onEnter & xp_onExit when do vid_restart

No replies
XV!BENEDYKT
xvibenedykt's picture
Offline
Joined: Jul 2008
Posts:

I use defined variables xp_onEnter and xp_onExit

xp_onEnter "say Hello; startrecord"
xp_onExit "say GG; stoprecord; screenshotXP"

I noticed that, when i do vid_restart, then i say GG, when do next time vid_restart then i say Hello. But as I noticed it not affects to demos or screenshots.

edit
I just check it again, and i have multiple demos from maps where i did vid_restart. Demo is recorded to vid_restart, and second one is recorded after vid_restart. (need to check it when i will count how many vid restarts i did durring game xD)