improvement

This commit is contained in:
in0finite 2019-06-25 22:18:50 +02:00
parent 90e5f6f594
commit a1be18c3ce
2 changed files with 1 additions and 3 deletions

View file

@ -30,7 +30,7 @@ namespace SanAndreasUnity.Behaviours
if (Camera.main != null)
focusPoints = focusPoints.Append(Camera.main.transform);
if (focusPoints.Count() < 1) {
if (!focusPoints.Any()) {
// no focus points
// don't do anything

View file

@ -14,8 +14,6 @@
- Cell focus is not always assigned on client - it happens when a syncvar for current ped in Player script arrives after Ped.Start()
- add NetManager to prefab
- max num players should be configurable
- display players on minimap