Skip to content

Commit

Permalink
extend miner alert log to also show room name
Browse files Browse the repository at this point in the history
  • Loading branch information
schealex committed Nov 18, 2020
1 parent ec52cdd commit e5fef9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/overlords/mining/miner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ export class MiningOverlord extends Overlord {
break;
case ERR_NOT_OWNER:
if (Game.time % 20 == 0) {
log.alert(`${miner.print}: room is reserved by hostiles!`);
log.alert(`${miner.print}: room "${miner.room.name}" is reserved by hostiles!`);
}
break;
default:
Expand Down

0 comments on commit e5fef9c

Please sign in to comment.