We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a3f215 + c0e62fa commit 724b011Copy full SHA for 724b011
1 file changed
src/core/modules/players/players_entity.cpp
@@ -688,14 +688,14 @@ void PlayerMixin::SetActiveDevices(unsigned char value)
688
689
float PlayerMixin::GetSuitPowerLoad()
690
{
691
- static int offset = FindNetworkPropertyOffset("m_flSuitPowerLoad");
692
- return GetNetworkPropertyByOffset<float>(offset);
+ static int offset = FindDatamapPropertyOffset("m_flSuitPowerLoad");
+ return GetDatamapPropertyByOffset<float>(offset);
693
}
694
695
void PlayerMixin::SetSuitPowerLoad(float value)
696
697
698
- SetNetworkPropertyByOffset<float>(offset, value);
+ SetDatamapPropertyByOffset<float>(offset, value);
699
700
701
0 commit comments