forked from Mirrors/openclonk
Fixed fuse positioning when creating a new one.
Fuses were created at 0,0 and everything looked ugly!ipv6
parent
b7771d6906
commit
fc9a25d215
|
@ -9,7 +9,7 @@
|
|||
public func Create(object o1, object o2)
|
||||
{
|
||||
if (!o1 || !o2) return;
|
||||
var fuse = CreateObject(Fuse);
|
||||
var fuse = CreateObject(Fuse, AbsX(o1->GetX()), AbsY(o1->GetY()));
|
||||
if (fuse)
|
||||
{
|
||||
fuse->Connect(o1, o2);
|
||||
|
|
Loading…
Reference in New Issue