• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

VS plugin mod for Basic Armour


Commit MetaInfo

Révision9750a7b37632421fdca8cb5ed5c0dd081ba60203 (tree)
l'heure2019-05-21 06:59:07
Auteurmelchior <melchior@user...>
Commitermelchior

Message de Log

Prevent load of mod when server hasn't got it

Change Summary

Modification

--- a/ArmourMod/Armour/ArmourModHookin.cs
+++ b/ArmourMod/Armour/ArmourModHookin.cs
@@ -67,7 +67,7 @@ namespace ArmourMod
6767
6868 public override bool ShouldLoad(EnumAppSide forSide)
6969 {
70- return true;
70+ return forSide.IsUniversal();//perhaps this prevents accidental loads for servers without mod?
7171 }
7272
7373 public override void Start(ICoreAPI api)