mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Resolve all Luals warnings
This commit is contained in:
@@ -76,9 +76,12 @@ function Public.add_compilatron(entity, name)
|
||||
end
|
||||
|
||||
Public.compilatrons[name] = entity
|
||||
local message =
|
||||
entity.surface.create_entity
|
||||
{ name = "compi-speech-bubble", text = messages[name][1], position = { 0, 0 }, source = entity }
|
||||
local message = entity.surface.create_entity{
|
||||
name = "compi-speech-bubble",
|
||||
text = messages[name][1],
|
||||
position = { 0, 0 },
|
||||
source = entity,
|
||||
}
|
||||
|
||||
Public.current_messages[name] = { message = message, msg_number = 1 }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user