mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
bool to number (#2649)
This commit is contained in:
parent
7b17aa1650
commit
db35c14e93
@ -62,7 +62,7 @@ e2function number operator_is(damage dmg)
|
||||
end
|
||||
|
||||
e2function number damage:isType(number type)
|
||||
return this:IsDamageType(type)
|
||||
return this:IsDamageType(type) and 1 or 0
|
||||
end
|
||||
|
||||
e2function number damage:getAmount()
|
||||
|
Loading…
Reference in New Issue
Block a user