Skip to content

Commit 168da76

Browse files
committed
Fix undefined reference to Screen::scrollWheelEnabled.
1 parent c15d8bb commit 168da76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Settings.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ void Settings::load(std::string filename)
126126
READ_PARSED_INT(mute);
127127
READ_PARSED_INT(rememberUnit);
128128
READ_PARSED_INT(scrollWheelEnabled);
129+
#ifndef YOG_SERVER_ONLY
129130
GAGGUI::Screen::scrollWheelEnabled = scrollWheelEnabled;
131+
#endif
130132

131133
for(int n=0; n<IntBuildingType::NB_BUILDING; ++n)
132134
{

0 commit comments

Comments
 (0)