Fixed Item System (Hopefully)
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@
|
||||
<workItem from="1678046412549" duration="3738000" />
|
||||
<workItem from="1679426348887" duration="3549000" />
|
||||
<workItem from="1679597961773" duration="4070000" />
|
||||
<workItem from="1680022248953" duration="5220000" />
|
||||
<workItem from="1680022248953" duration="5769000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
|
||||
@@ -222,8 +222,8 @@ public class Client : MonoBehaviour
|
||||
((NoPlayablePlayer)players[job.data[1]]).BuyStar();
|
||||
break;
|
||||
case 9:
|
||||
players[job.data[1]].AddCoins(-items[job.data[3]].Cost);
|
||||
players[job.data[1]].AddItem(items[job.data[3]]);
|
||||
players[job.data[1]].AddCoins(-items[job.data[2]].Cost);
|
||||
players[job.data[1]].AddItem(items[job.data[2]]);
|
||||
break;
|
||||
case 10:
|
||||
players[job.data[1]].ActivateItem(job.data[2]);
|
||||
|
||||
Reference in New Issue
Block a user