mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-04 10:44:42 +00:00
add set player
This commit is contained in:
@@ -91,8 +91,8 @@ namespace BBM
|
||||
auto &controllable = entity.get<ControllableComponent>();
|
||||
auto &pos = entity.get<PositionComponent>();
|
||||
auto &bombHolder = entity.get<BombHolderComponent>();
|
||||
MapInfo player(pos.position, MapGenerator::NOTHING);
|
||||
|
||||
_luamap.setPlayer(pos.position);
|
||||
if (!ia.registered) {
|
||||
this->registerFunc(ia._state);
|
||||
ia.registered = true;
|
||||
|
||||
Reference in New Issue
Block a user