Fixed fuse positioning when creating a new one.

Fuses were created at 0,0 and everything looked ugly!
ipv6
Clonkonaut 2017-01-03 22:45:20 +01:00
parent b7771d6906
commit fc9a25d215
1 changed files with 1 additions and 1 deletions

View File

@ -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);