1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2024-11-26 19:13:27 +00:00
This commit is contained in:
Fastium 2022-06-16 16:09:30 +02:00
parent 2d6e572583
commit 220298c6d4

View File

@ -67,7 +67,7 @@ public class PokeMudry extends PortableApplication {
boolean onMapScreen = sp.screenManager.getActiveScreen().getClass().equals(ScreenMap.class); boolean onMapScreen = sp.screenManager.getActiveScreen().getClass().equals(ScreenMap.class);
boolean onBattleScreen = sp.screenManager.getActiveScreen().getClass().equals(ScreenBattle.class); boolean onBattleScreen = sp.screenManager.getActiveScreen().getClass().equals(ScreenBattle.class);
long timeNow = System.currentTimeMillis();a long timeNow = System.currentTimeMillis();
if((timeNow-lastMesure) >= 1000){ if((timeNow-lastMesure) >= 1000){
lastMesure = timeNow; lastMesure = timeNow;
for (Enemy enemy : enemies) { enemy.recoveredTime++; } for (Enemy enemy : enemies) { enemy.recoveredTime++; }