Regenerating Meter (Is there a better way than this?)

So in my game I have a stamina meter which needs to be filled to 100% before the player can dash. The way I have it set up is I have a gadget on the map that checks the player's stamina to see if it's under 100 and if it is it fills the meter by 10 every .1 seconds.

I was wondering if there was a different way to do this. The reason I'm concerned with my way is because I'm worried this way may cause lag. Thanks in advanced for any help.
I don't know why it would cause lag honestly. That's a pretty basic way to do it. An alternate way would be making the gadget a slave to the player. Would keep you from needing one on every map.
That's good to know it won't cause lag. Thanks!

I've thought about making it a slave gadget but I'm still in the early stages of my game.

Original thread: https://forums.rpgmakerweb.com/threads/regenerating-meter-is-there-a-better-way-than-this.3259/