mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Better and cleaner fix thanks to @heinrich5991
This commit is contained in:
parent
c177a90f35
commit
c9244d6386
|
@ -147,7 +147,7 @@ class Float(BaseType):
|
|||
def Set(self, value):
|
||||
self.value = value
|
||||
def EmitDefinition(self, name):
|
||||
return ["(float)%f"%self.value]
|
||||
return ["%ff"%self.value]
|
||||
#return ["%d /* %s */"%(self.value, self._target_name)]
|
||||
|
||||
class String(BaseType):
|
||||
|
|
Loading…
Reference in a new issue