mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Make free slots display more accurate in gear
Use the cursorTarget at the time the gear dialog was opened instead of the cursorTarget at the time the script runs. The script can be delayed by several seconds (spawn is scheduled).
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
setMousePosition [0.5, 0.5];
|
||||
|
||||
private ["_exit","_nearestObjects","_rID","_display","_cTarget","_dis","_friendlyTo","_lastSave","_startTime"];
|
||||
|
||||
// players inside vehicle can always access its gear
|
||||
|
||||
Reference in New Issue
Block a user