Code tidying with Rubocop

This commit is contained in:
Maruno17
2023-07-18 22:42:10 +01:00
parent 6053363715
commit a5734eaf46
68 changed files with 276 additions and 232 deletions

View File

@@ -430,8 +430,8 @@ class MapScreenScene
if @dragging
if @dragmapid >= 0
sprite = getMapSprite(@dragmapid)
x = x + @dragOffsetX
y = y + @dragOffsetY
x += @dragOffsetX
y += @dragOffsetY
sprite.x = x & ~3
sprite.y = y & ~3
@sprites["title"].text = _ISPRINTF("D: Help [{1:03d}: {2:s}]", mapid, @mapinfos[@dragmapid].name)