mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-19 14:42:56 +03:00
use getposalt instead of position here fixes
http://bmrf.me/vbforums/showthread.php?11562-Smelting-Tin-BUG&p=75405#post75405
This commit is contained in:
@@ -65,7 +65,7 @@ if (_finished) then {
|
||||
|
||||
// Sound_Generator1
|
||||
// Looks like this was the entended way of making the sound, lets test
|
||||
_soundSource = createSoundSource ["Sound_Generator1", position player, [], 0];
|
||||
_soundSource = createSoundSource ["Sound_Generator1", getPosATL player, [], 0];
|
||||
|
||||
_vehicle setVariable ["GeneratorSound", _soundSource,true];
|
||||
|
||||
@@ -78,7 +78,7 @@ if (_finished) then {
|
||||
|
||||
// Sound_Generator1
|
||||
// Looks like this was the entended way of making the sound, lets test
|
||||
_soundSource = createSoundSource ["Sound_Generator1", position player, [], 0];
|
||||
_soundSource = createSoundSource ["Sound_Generator1", getPosATL player, [], 0];
|
||||
|
||||
_vehicle setVariable ["GeneratorSound", _soundSource,true];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user