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
David Dormagen 2016-02-16 19:01:03 +01:00
parent 68851106b4
commit 3227a43b17
1 changed files with 1 additions and 1 deletions

View File

@ -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()