[client] add colorize param to PlayerView
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user