forked from Mirrors/openclonk
HUD progress bar: fixed type of GUI positioning "Top" property
The method returns an int and we need a string. It's correct in all other places.liquid_container
parent
68851106b4
commit
3227a43b17
|
@ -119,7 +119,7 @@ public func RemoveBar(int subwindow_id, int height)
|
|||
{
|
||||
total_height -= height;
|
||||
GuiClose(window_id, subwindow_id, this);
|
||||
GuiUpdate({Top = CalculateTop()}, window_id);
|
||||
GuiUpdate({Top = ToEmString(CalculateTop())}, window_id);
|
||||
}
|
||||
|
||||
private func CalculateTop()
|
||||
|
|
Loading…
Reference in New Issue