improved save/load mechanic.
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Assets.Scripts.Player
|
||||
if (hit.collider.gameObject.tag.ToLower().Contains("object"))
|
||||
{
|
||||
string obj = hit.collider.gameObject.tag.Split(':')[1];
|
||||
if (hit.distance <= 10 && !obj.ToLower().Equals("house"))
|
||||
if (hit.distance <= 3 && !obj.ToLower().Equals("house"))
|
||||
{
|
||||
if (!uihandler.isPlayerInFight())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user