mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 01:34:07 +00:00
Organize Entity header
Probably the third or fourth pass of this darn header... Just keep making it better every time Rename some functions to make more sense to a reader Use different method for Observing/subscribing to component events Get rid of abomination of overloading GetParentUser
This commit is contained in:
@@ -366,8 +366,8 @@ void PhantomPhysicsComponent::Update(float deltaTime) {
|
||||
|
||||
if (entity) {
|
||||
GameMessages::SendPlayerReachedRespawnCheckpoint(entity, m_RespawnPos, m_RespawnRot);
|
||||
entity->SetRespawnPos(m_RespawnPos);
|
||||
entity->SetRespawnRot(m_RespawnRot);
|
||||
entity->SetRespawnPosition(m_RespawnPos);
|
||||
entity->SetRespawnRotation(m_RespawnRot);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user