From 21c7adaf78501190140edb2731123ef03fd7fa77 Mon Sep 17 00:00:00 2001 From: 82ndab-Bravo17 <82ndab.bravo17@gmail.com> Date: Thu, 2 May 2019 22:35:14 -0400 Subject: [PATCH] Mass check abs value --- Sources/epoch_code/System/player_login.fsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/epoch_code/System/player_login.fsm b/Sources/epoch_code/System/player_login.fsm index 36cd8c36..22f7c311 100644 --- a/Sources/epoch_code/System/player_login.fsm +++ b/Sources/epoch_code/System/player_login.fsm @@ -1076,7 +1076,7 @@ class FSM "if (_playerCheck) then {" \n " _PlayerPosCheck = !((_playerObject getVariable [""FinalDest"",[]]) isequalto []);" \n " if (_PlayerPosCheck) then {" \n - " _playerCheckMass = ((_loadabs toFixed 2) isEqualTo ((loadabs _playerObject) toFixed 2));" \n + " _playerCheckMass = ((abs(_loadabs - (loadabs _playerObject))) < 1);" \n " if (_playerCheckMass) then {" \n " _state = true;" \n " };" \n