more comments

This commit is contained in:
caesarakalaeii 2023-08-12 00:03:14 +02:00
parent 5131d68b85
commit 840ab1e0cb
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class MyGameServer : GameServer<MyPlayer>
}
}
public async Task HandleCommand(Command c){
public async Task HandleCommand(Command c){ // need testing if blocking
foreach(MyPlayer player in connectedStreamers){
if(player.SteamID != c.StreamerID){
continue;
@ -81,7 +81,7 @@ class MyGameServer : GameServer<MyPlayer>
switch (c.Action)
{
case "heal":{
player.Heal(c.Amount); //Not yet in API
player.Heal(c.Amount);
player.Message($"{c.ExecuterName} has healed you for {c.Amount}");
}
case "kill":{