mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Fixes imperial / metric menu option setting
This commit is contained in:
parent
06e063d594
commit
367c4d74af
@ -447,7 +447,7 @@ do -- SETTINGS
|
|||||||
|
|
||||||
--- @param #SETTINGS self
|
--- @param #SETTINGS self
|
||||||
function SETTINGS:MenuGroupMWSystem( PlayerUnit, PlayerGroup, PlayerName, MW )
|
function SETTINGS:MenuGroupMWSystem( PlayerUnit, PlayerGroup, PlayerName, MW )
|
||||||
self.Metrics = MW
|
self.Metric = MW
|
||||||
MESSAGE:New( string.format("Settings: Measurement format set to %s for player %s.", MW and "Metric" or "Imperial", PlayerName ), 5 ):ToGroup( PlayerGroup )
|
MESSAGE:New( string.format("Settings: Measurement format set to %s for player %s.", MW and "Metric" or "Imperial", PlayerName ), 5 ):ToGroup( PlayerGroup )
|
||||||
self:RemovePlayerMenu(PlayerUnit)
|
self:RemovePlayerMenu(PlayerUnit)
|
||||||
self:SetPlayerMenu(PlayerUnit)
|
self:SetPlayerMenu(PlayerUnit)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user