[common] add PlayerControl presets
This commit is contained in:
@@ -117,7 +117,7 @@ enum Brush {
|
||||
var playerId = new PlayerId(point.team, point.index < 0 ? 0 : point.index);
|
||||
var player = config.getPlayer(playerId);
|
||||
var tankSpawn = player.tanks[0];
|
||||
var tank = builder.buildTank(point, playerId, tankSpawn.type, true);
|
||||
var tank = builder.buildTank(point, playerId, tankSpawn.type, 0, true);
|
||||
pointEntities[pointKey(point)] = tank;
|
||||
gameEventSignal.emit(EventUtil.buildTankSpawn(tank));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user