Skip to content

Commit

Permalink
Fixes octgn#416
Browse files Browse the repository at this point in the history
Fixes octgn#1227
You can get the results of a peek on a card if it's your own immediately
  • Loading branch information
kellyelton committed Jan 19, 2015
1 parent d26da85 commit b74f00a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions octgnFX/Octgn/Play/Card.cs
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ public ulong GetEncryptedKey()
public void Peek()
{
if (FaceUp) return;
if (!PeekingPlayers.Contains(Player.LocalPlayer))
PeekingPlayers.Add(Player.LocalPlayer);
Program.Client.Rpc.PeekReq(this);
Type.Revealed += PeekContinuation;
}
Expand Down
3 changes: 2 additions & 1 deletion recentchanges.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Fixed #1348 Added the ability for a developer to trigger on all cards that moved
Made the networking batch together all move operations - Kelly
Added OnMoveCards, OnScriptedMoveCards events - Kelly
Fixed #1344 If group width/height == 0, it sets it to 1. O8build will also show a relevant warning about it - Kelly
Fixed #1347 Getting disconnecting durring a random call can cause the script engine to become unrepsonsive = Kelly
Fixed #1347 Getting disconnecting durring a random call can cause the script engine to become unrepsonsive = Kelly
Fixed #416 #1227 can get the results of a peek on a card if it's your own immediately - Kelly

0 comments on commit b74f00a

Please sign in to comment.