X-Git-Url: https://plomlompom.com/repos/?p=plomrogue;a=blobdiff_plain;f=plomrogue-server.py;h=b22701f8405c3e0e9959dda6781d96f2cb1722c1;hp=b08899a5a67d40c4ab8aafcacc7012732578898c;hb=488f00137b0cb6797cdb88c3b4aa386327993ceb;hpb=48f541330d16b71141136d929b78a44a7afeb5d5 diff --git a/plomrogue-server.py b/plomrogue-server.py index b08899a..b22701f 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -622,8 +622,9 @@ def actor_move(t): world_db["Things"][id]["T_POSY"] = move_result[1] world_db["Things"][id]["T_POSX"] = move_result[2] build_fov_map(t) - strong_write(io_db["file_out"], "LOG You move " + dir + ".\n") - else: + if t == world_db["Things"][0]: + strong_write(io_db["file_out"], "LOG You move " + dir + ".\n") + elif t == world_db["Things"][0]: strong_write(io_db["file_out"], "LOG You fail to move " + dir + ".\n")