1
0

Refactored ManualBindings' callbacks using templates.

This is a bit easier to read, has better error reporting and fixes a few subtle bugs.
Fixes #1889.
This commit is contained in:
Mattes D
2015-04-23 22:20:31 +02:00
parent e42beb51ab
commit a89d5f53fd
5 changed files with 286 additions and 392 deletions

View File

@@ -82,7 +82,7 @@ function Initialize(a_Plugin)
a_CBPlayer:GetWorld():DoWithEntityByID( -- This will crash the server in #1889
a_CBEntity:GetUniqueID(),
function(Entity)
LOG("RightClicking an entity, crash #1889 fixed")
LOG("RightClicking an entity, crash #1889 fixed. Entity is a " .. tolua.type(Entity))
end
)
end