equal
deleted
inserted
replaced
408 local shotsMsg |
408 local shotsMsg |
409 if wepAmmo[wepIndex] <= 0 then |
409 if wepAmmo[wepIndex] <= 0 then |
410 shotsMsg = loc("Out of ammo!") |
410 shotsMsg = loc("Out of ammo!") |
411 else |
411 else |
412 if wepIndex == 2 then |
412 if wepIndex == 2 then |
413 shotsMsg = loc("%d fuel remaining") |
413 shotsMsg = loc("Fuel: %d") |
414 else |
414 else |
415 shotsMsg = loc("%d shots remaining") |
415 shotsMsg = loc("Ammo: %d") |
416 end |
416 end |
417 end |
417 end |
418 AddCaption(string.format(shotsMsg, wepAmmo[wepIndex]), wepCol[wepIndex],capgrpMessage2) |
418 AddCaption(string.format(shotsMsg, wepAmmo[wepIndex]), wepCol[wepIndex],capgrpMessage2) |
419 end |
419 end |
420 |
420 |