Updated WorkerScript-related code for the workerScripts array->map change

This commit is contained in:
danielyxie
2019-06-19 01:51:25 -07:00
committed by danielyxie
parent 821725cf4d
commit 4cc6437408
6 changed files with 83 additions and 78 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import { IPlayer } from "../../PersonObjects/IPlayer";
type IProps = {
p: IPlayer;
workerScripts: WorkerScript[];
workerScripts: Map<number, WorkerScript>;
}
export class ActiveScriptsRoot extends React.Component<IProps> {