[client] add colorize param to PlayerView

This commit is contained in:
2019-03-25 17:56:41 +03:00
parent 556cd2f1a9
commit 5b804c6902
3 changed files with 6 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ class BotControl extends Control {
private var tank(get, null):Tank;
private inline function get_tank():Tank {
return cast handler.entities[tankId];
return handler == null ? null : cast handler.entities[tankId];
}
override public function stop():Void {