mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-17 22:33:13 +09:00
Covnerted Event and Global
This commit is contained in:
1 parent
fc279c42f8
commit
1cb2a3c3a0
35 files changed
+97
-78
No files matched your search
@@ -9,7 +9,7 @@ local Color = require('FactorioStdLib.Color')
|
||||
|
||||
local DamagePopup = {}
|
||||
|
||||
script.on_event(defines.events.on_entity_damaged, function(event)
|
||||
Event.add(defines.events.on_entity_damaged, function(event)
|
||||
local entity = event.entity
|
||||
local cause = event.cause
|
||||
local damage = event.original_damage_amount
|
||||
|
||||
Reference in new issue
Block a user