diff --git a/cyberwow/lib/controller/rpc/rpcView.dart b/cyberwow/lib/controller/rpc/rpcView.dart index 64c5964..602e60c 100644 --- a/cyberwow/lib/controller/rpc/rpcView.dart +++ b/cyberwow/lib/controller/rpc/rpcView.dart @@ -114,16 +114,20 @@ Map simpleHeight(int height, Map x) { ( (k, v) { if (k == 'height') { - if (v < height) { - return MapEntry('height', '- ${height - v}'); + if (v == 0) { + return MapEntry(k, '☠'); + } + + else if (v < height) { + return MapEntry(k, '- ${height - v}'); } else if (v == height) { - return MapEntry('height', '✓'); + return MapEntry(k, '✓'); } else { - return MapEntry('height', '+ ${v - height}'); + return MapEntry(k, '+ ${v - height}'); } } else {