mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:30:45 +00:00
Better type for parameter,all callers already send it this type
This commit is contained in:
+1
-1
@@ -291,7 +291,7 @@ export function withinInt(num: bigint, min: bigint, max: bigint): bigint {
|
||||
|
||||
export function createRandomName(
|
||||
name: string,
|
||||
playerType: string,
|
||||
playerType: PlayerType,
|
||||
): string | null {
|
||||
let randomName: string | null = null;
|
||||
if (playerType === PlayerType.Human) {
|
||||
|
||||
Reference in New Issue
Block a user