mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-12 12:41:26 -07:00
minor fixes
This commit is contained in:
@@ -130,6 +130,26 @@ void ACogEngineReplicator::Server_Spawn_Implementation(const FCogEngineSpawnEntr
|
||||
#endif // !UE_BUILD_SHIPPING
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
void ACogEngineReplicator::SetTimeDilation(float Value)
|
||||
{
|
||||
#if !UE_BUILD_SHIPPING
|
||||
|
||||
//-------------------------------------
|
||||
// Set local time dilation right away
|
||||
//-------------------------------------
|
||||
TimeDilation = Value;
|
||||
OnRep_TimeDilation();
|
||||
|
||||
//-------------------------------------
|
||||
// Update server time dilation
|
||||
//-------------------------------------
|
||||
Server_SetTimeDilation(Value);
|
||||
|
||||
#endif // !UE_BUILD_SHIPPING
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
void ACogEngineReplicator::Server_SetTimeDilation_Implementation(float Value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user