File tree Expand file tree Collapse file tree 3 files changed +1
-9
lines changed
Expand file tree Collapse file tree 3 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ export class SpawnExecution implements Execution {
5252 if ( player . spawnTile ( ) === undefined ) {
5353 player . setSpawnTile ( this . tile ) ;
5454 }
55-
56- player . setHasSpawned ( true ) ;
5755 }
5856
5957 isActive ( ) : boolean {
Original file line number Diff line number Diff line change @@ -546,7 +546,6 @@ export interface Player {
546546 markDisconnected ( isDisconnected : boolean ) : void ;
547547
548548 hasSpawned ( ) : boolean ;
549- setHasSpawned ( hasSpawned : boolean ) : void ;
550549 setSpawnTile ( spawnTile : TileRef ) : void ;
551550 spawnTile ( ) : TileRef | undefined ;
552551
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ export class PlayerImpl implements Player {
101101 public _outgoingAttacks : Attack [ ] = [ ] ;
102102 public _outgoingLandAttacks : Attack [ ] = [ ] ;
103103
104- private _hasSpawned = false ;
105104 private _spawnTile : TileRef | undefined ;
106105 private _isDisconnected = false ;
107106
@@ -345,11 +344,7 @@ export class PlayerImpl implements Player {
345344 }
346345
347346 hasSpawned ( ) : boolean {
348- return this . _hasSpawned ;
349- }
350-
351- setHasSpawned ( hasSpawned : boolean ) : void {
352- this . _hasSpawned = hasSpawned ;
347+ return this . _spawnTile !== undefined ;
353348 }
354349
355350 setSpawnTile ( spawnTile : TileRef ) : void {
You can’t perform that action at this time.
0 commit comments