Evtl. fix unerklärliche async client fehler

This commit is contained in:
hydrant
2021-04-21 19:37:01 +02:00
parent d413c5c8cb
commit 4c35539b23
5 changed files with 20 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
interface IGame {
wait(ms: number): Promise<void>;
wait(ms: number): void;
events: IEvents;
ui: IUi;
@@ -75,6 +75,7 @@ interface IVehicle extends IEntity {
interface IEntityPool<TEntity> {
at(id: number): TEntity;
forEach(fn: (entity: TEntity) => void): void;
exists(entity: TEntity): boolean;
}