Skip to content

Commit

Permalink
v1.8.1
Browse files Browse the repository at this point in the history
* Fixed MP player load bug failsafe
  • Loading branch information
hamstar0 committed Aug 9, 2018
1 parent 0691b3b commit 95e808a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions WormholesPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ public override void SyncPlayer( int to_who, int from_who, bool new_player ) {
}

public override void OnEnterWorld( Player player ) {
if( player.whoAmI == Main.myPlayer ) { return; }
if( this.player.whoAmI == Main.myPlayer ) { return; }
if( player.whoAmI != Main.myPlayer ) { return; }
if( this.player.whoAmI != Main.myPlayer ) { return; }

var mymod = (WormholesMod)this.mod;

Expand Down
3 changes: 1 addition & 2 deletions build.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
author = hamstar
version = 1.8.1
displayName = Wormholes
modReferences = HamstarHelpers@2.0.1
modReferences = HamstarHelpers@2.0.2
buildIgnore = *.csproj, *.user, *.bat, obj\*, bin\*, .vs\*, .git\*
includePDB = true
languageVersion = 6
homepage = https://forums.terraria.org/index.php?threads/wormholes-and-also-scroll-of-town-portal.52701/

0 comments on commit 95e808a

Please sign in to comment.