# Replication issue for card game

**URL:** <https://forums.unrealengine.com/t/replication-issue-for-card-game/1874141>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [May 26, 2024, 5:31pm UTC](https://forums.unrealengine.com/t/replication-issue-for-card-game/1874141 "2024-05-26T17:31:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SCHNlETZEL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SCHNlETZEL](https://forums.unrealengine.com/u/SCHNlETZEL)\
**Post date:** [May 26, 2024, 5:31pm UTC](https://forums.unrealengine.com/t/replication-issue-for-card-game/1874141/1 "2024-05-26T17:31:45Z")

</div>

This is the first time i’ve created a multiplayer game, so please excuse me if the solution is very simple.  
I am creating a card game and there is a replicated blueprint for the deck. The players draw cards from this deck (which acts as a stack) and the deck array is replicated. The problem i’m having is that taking the top card from the deck (which i do in this screenshot) only works on the listen server side and not for the client. I thought that calling the action of popping the top card from an event that executes on the server would mean that no matter who calls it, the top card will be stored in the “Newest card” variable which is also replicated.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/4/fe4af82af78fa280817f41d1cc071e6d9339474d.png)

If I set the event as not replicating, it works. However, the variables for deck and last card are no longer synced. Shouldn’t they automatically sync when changed if they are replicated?
