Renamed some If1 variables in Component

This commit is contained in:
Pazaz 2022-07-06 16:41:41 -04:00
parent 4c73508f1f
commit abbfd5c047
8 changed files with 214 additions and 210 deletions

View file

@ -1129,7 +1129,7 @@ public final class client extends GameShell {
if (prioritySource.createdComponentId < 0) {
break;
}
priorityComponent = InterfaceList.getComponent(prioritySource.layer);
priorityComponent = InterfaceList.getComponent(prioritySource.overlayer);
} while (priorityComponent == null || priorityComponent.createdComponents == null || priorityComponent.createdComponents.length <= prioritySource.createdComponentId || prioritySource != priorityComponent.createdComponents[prioritySource.createdComponentId]);
ScriptRunner.run(priorityRequest);
}
@ -1138,7 +1138,7 @@ public final class client extends GameShell {
if (prioritySource.createdComponentId < 0) {
break;
}
priorityComponent = InterfaceList.getComponent(prioritySource.layer);
priorityComponent = InterfaceList.getComponent(prioritySource.overlayer);
} while (priorityComponent == null || priorityComponent.createdComponents == null || prioritySource.createdComponentId >= priorityComponent.createdComponents.length || prioritySource != priorityComponent.createdComponents[prioritySource.createdComponentId]);
ScriptRunner.run(priorityRequest);
}
@ -1147,7 +1147,7 @@ public final class client extends GameShell {
if (prioritySource.createdComponentId < 0) {
break;
}
priorityComponent = InterfaceList.getComponent(prioritySource.layer);
priorityComponent = InterfaceList.getComponent(prioritySource.overlayer);
} while (priorityComponent == null || priorityComponent.createdComponents == null || priorityComponent.createdComponents.length <= prioritySource.createdComponentId || prioritySource != priorityComponent.createdComponents[prioritySource.createdComponentId]);
ScriptRunner.run(priorityRequest);
}