iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
113 stars 32 forks source link

Weapons can be refilled only once at the tent #118

Closed dany-on-demand closed 9 years ago

dany-on-demand commented 9 years ago

You can only refill the shotgun ammo at the tent once, after you do it won't refill.

EDIT: rak's right, I was under the impression that the other guns don't have this problem.

rakiru commented 9 years ago

There is no code in the shotgun mod to deal with this, so it would be a bug in the base game. You can only restock if you can restock on blocks. I'm not sure if this is intentional, and if it is, if we want to keep it, but that's how restocking on all weapons works at the moment.

Edit: To clarify, that goes for all guns.

rakiru commented 9 years ago

It's not that they can only be refilled once; it's that they can only be refilled as long as blocks need refilled. Whether or not this is intended/wanted should be decided quickly and sorted either way though.

rakiru commented 9 years ago

Ok, this is related to the grenade not showing problem. Ammo isn't synced on the server any more/currently, so the gun never needs restocked. I'll try and get a little fix in there for that now.

rakiru commented 9 years ago

Typoed commit message apparently... closes #118*

rakiru commented 9 years ago

That was just a quick-fix for the current framework. #117 should do it properly (i.e. actually care if a client runs out of bullets but is still telling us they're firing).