Selaa lähdekoodia

Added hurtworld fix

Updated description
UltimateByte 10 vuotta sitten
vanhempi
commit
38f391bb32
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5 2
      functions/fn_install_steamfix

+ 5 - 2
functions/fn_install_steamfix

@@ -14,10 +14,10 @@ cp -v "${rootdir}/steamcmd/linux32/steamclient.so" "${HOME}/.steam/sdk32/steamcl
 sleep 1
 }
 
-# Gary's Mod Specific
+# Server specific
 fn_libsteamfix(){
 echo ""
-echo "Applying libsteam.so fix"
+echo "Applying libsteam.so and steamclient.so fixes"
 echo "================================="
 sleep 1
 if [ "${gamename}" == "Garry's Mod" ]; then
@@ -26,6 +26,9 @@ if [ "${gamename}" == "Garry's Mod" ]; then
 elif [ "${gamename}" == "Serious Sam 3: BFE" ]; then
 	mkdir -pv "${HOME}/.steam/bin32"
 	cp -v "${filesdir}/Bin/libsteam.so" "${HOME}/.steam/bin32/libsteam.so"
+elif [ "${gamename}" == "Hurtworld" ]; then
+	cp -v "${rootdir}/steamcmd/linux32/steamclient.so" "${filesdir}/Hurtworld_Data/Plugins/x86/steamclient.so"
+	cp -v "${rootdir}/steamcmd/linux32/steamclient.so" "${filesdir}/Hurtworld_Data/Plugins/x86_64/steamclient.so"
 fi
 sleep 1
 }