Flamethrower Math Fix (#10796)

This commit is contained in:
Geeves
2020-12-17 01:05:59 -03:00
committed by GitHub
parent dc3588611d
commit e92de926c3
2 changed files with 7 additions and 1 deletions
@@ -72,7 +72,7 @@
return
if(!ptank)
return
if(ptank.air_contents.get_by_flag(XGM_GAS_FUEL) < 10)
if(ptank.air_contents.get_by_flag(XGM_GAS_FUEL) < 1)
to_chat(user, SPAN_WARNING("\The [src] doesn't have enough fuel left to throw!"))
return
// Make sure our user is still holding us
@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- bugfix: "Fixed a maths error that caused flamethrower minimum fuel requirement to be too high."