Files
DayZ-Epoch/SQF
ebaydayz 0d5d0b9b8e Change count back to forEach - fix empty safes
See Kronzky's note:
https://community.bistudio.com/wiki/count

You can only use count to iterate through an array if all elements in the array are of the same data type. In this case you have an array with strings (type), arrays (worldspace, inventory, hitpoints) and numbers (fuel, ownerID). You need to use forEach instead. 

This error explains the problem people were having with safe inventories being empty when they open them after a restart:
http://epochmod.com/forum/index.php?/topic/13423-safe-is-empty-after-restart-if-you-open-it/
https://github.com/vbawol/DayZ-Epoch/issues/1368
https://github.com/vbawol/DayZ-Epoch/issues/1422
2014-07-29 15:50:53 -04:00
..
2014-06-22 17:32:26 -05:00
2014-05-27 12:40:21 -04:00
2014-07-29 17:47:29 +01:00
2014-07-19 16:59:59 -04:00
2014-05-07 12:17:41 -05:00
2014-07-17 13:49:57 -07:00
2013-11-09 15:49:53 +01:00
2014-07-01 15:22:39 -05:00